From 968d034dba08f925512dce7c1e4e0eec6af1c66b Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Thu, 11 Jul 2024 14:41:55 -0400 Subject: [PATCH] Lint Signed-off-by: Derek Ho --- public/apps/configuration/top-nav-menu.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/apps/configuration/top-nav-menu.tsx b/public/apps/configuration/top-nav-menu.tsx index 16ad4689..4d08477e 100644 --- a/public/apps/configuration/top-nav-menu.tsx +++ b/public/apps/configuration/top-nav-menu.tsx @@ -16,9 +16,9 @@ import React from 'react'; import { DataSourceSelectableConfig } from 'src/plugins/data_source_management/public'; import { DataSourceOption } from 'src/plugins/data_source_management/public/components/data_source_menu/types'; +import { SigV4ServiceName } from 'src/plugins/data_source/common/data_sources'; import { AppDependencies } from '../types'; import { setDataSourceInUrl } from '../../utils/datasource-utils'; -import { SigV4ServiceName } from 'src/plugins/data_source/common/data_sources'; export interface TopNavMenuProps extends AppDependencies { dataSourcePickerReadOnly: boolean; @@ -60,7 +60,8 @@ export const SecurityPluginTopNavMenu = React.memo( : undefined, onSelectedDataSources: wrapSetDataSourceWithUpdateUrl, fullWidth: true, - dataSourceFilter: (ds) => ds.attributes.auth.credentials?.service !== SigV4ServiceName.OpenSearchServerless, + dataSourceFilter: (ds) => + ds.attributes.auth.credentials?.service !== SigV4ServiceName.OpenSearchServerless, }} /> ) : null;