Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
Signed-off-by: reggie <[email protected]>
  • Loading branch information
reggie-k committed Mar 14, 2024
1 parent 2283cd9 commit 4084486
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const SearchBar = (props: {
const [isFocused, setFocus] = React.useState(false);
const useAuthSettingsCtx = React.useContext(AuthSettingsCtx);

const placeholderText = props.objectListKind == 'application' ? 'Search applications...' : 'Search application sets...';
const placeholderText = props.objectListKind === 'application' ? 'Search applications...' : 'Search application sets...';

useKeybinding({
keys: Key.SLASH,
Expand Down Expand Up @@ -452,15 +452,15 @@ export const ApplicationsList = (props: RouteComponentPropsExtended) => {

refreshApplication: refreshApp,
deleteApplication: (appName, appNamespace) => AppUtils.deleteApplication(appName, appNamespace, listCtx),
objectListKind: objectListKind
objectListKind: '{objectListKind}'
};
};

const applicationSetTilesProps = (data: models.ApplicationSet[]): ApplicationSetTilesProps => {
return {
applications: data,
deleteApplication: (appName, appNamespace) => AppUtils.deleteApplication(appName, appNamespace, listCtx),
objectListKind: objectListKind
objectListKind: '{objectListKind}'
};
};

Expand Down

0 comments on commit 4084486

Please sign in to comment.