Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho committed Jul 11, 2024
1 parent 1ca33b0 commit 968d034
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions public/apps/configuration/top-nav-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 968d034

Please sign in to comment.