Skip to content

Commit

Permalink
self review fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Gilgur <[email protected]>
  • Loading branch information
agilgur5 committed Jan 17, 2024
1 parent aae98c4 commit 49066b1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions ui/src/app/event-sources/event-source-log-viewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as React from 'react';
import {useEffect, useState} from 'react';
import {Observable} from 'rxjs';
import {filter, map} from 'rxjs/operators';

import {EventSource} from '../../models';
import {ErrorNotice} from '../shared/components/error-notice';
import {Links} from '../shared/components/links';
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/modals/version.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export function majorMinor(version: string) {
if (version.includes('.')) {
return version.substring(0, version.lastIndexOf('.') - 1);
return version.substring(0, version.lastIndexOf('.'));
}
return version;
}
1 change: 1 addition & 0 deletions ui/src/app/shared/components/parameters-input.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {Select, Tooltip} from 'argo-ui';
import React from 'react';

import {Parameter} from '../../../models';
import {Utils} from '../utils';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as kubernetes from 'argo-ui/src/models/kubernetes';
import * as React from 'react';
import {useState} from 'react';

import {Button} from '../button';
import {ErrorNotice} from '../error-notice';
import {ObjectEditor} from '../object-editor';
Expand Down

0 comments on commit 49066b1

Please sign in to comment.