From 4084486fcaf96bae9a5bb9b84307094145b3ae06 Mon Sep 17 00:00:00 2001 From: reggie Date: Thu, 14 Mar 2024 09:37:36 +0200 Subject: [PATCH] linting Signed-off-by: reggie --- .../components/applications-list/applications-list.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/app/applications/components/applications-list/applications-list.tsx b/ui/src/app/applications/components/applications-list/applications-list.tsx index be1dbfc3208a1..a55c1d62d6238 100644 --- a/ui/src/app/applications/components/applications-list/applications-list.tsx +++ b/ui/src/app/applications/components/applications-list/applications-list.tsx @@ -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, @@ -452,7 +452,7 @@ export const ApplicationsList = (props: RouteComponentPropsExtended) => { refreshApplication: refreshApp, deleteApplication: (appName, appNamespace) => AppUtils.deleteApplication(appName, appNamespace, listCtx), - objectListKind: objectListKind + objectListKind: '{objectListKind}' }; }; @@ -460,7 +460,7 @@ export const ApplicationsList = (props: RouteComponentPropsExtended) => { return { applications: data, deleteApplication: (appName, appNamespace) => AppUtils.deleteApplication(appName, appNamespace, listCtx), - objectListKind: objectListKind + objectListKind: '{objectListKind}' }; };