From fd6b42c966e1422ed31d1200ccbe2383433828be Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Fri, 21 Jun 2024 15:01:40 -0400 Subject: [PATCH 1/2] Update data source selector to filter out aoss Signed-off-by: Derek Ho --- public/apps/configuration/top-nav-menu.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/public/apps/configuration/top-nav-menu.tsx b/public/apps/configuration/top-nav-menu.tsx index 5e5e51893..62a211f88 100644 --- a/public/apps/configuration/top-nav-menu.tsx +++ b/public/apps/configuration/top-nav-menu.tsx @@ -59,6 +59,7 @@ export const SecurityPluginTopNavMenu = React.memo( : undefined, onSelectedDataSources: wrapSetDataSourceWithUpdateUrl, fullWidth: true, + dataSourceFilter: (ds) => ds.attributes.auth.credentials?.service !== 'aoss' }} /> ) : null; From d4774235ba7d26d47a90f4cb6fc98492c0ba40cc Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Fri, 21 Jun 2024 15:02:01 -0400 Subject: [PATCH 2/2] Update DataSourceMenu to filter out aoss Signed-off-by: Derek Ho --- public/apps/configuration/top-nav-menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/apps/configuration/top-nav-menu.tsx b/public/apps/configuration/top-nav-menu.tsx index 62a211f88..cc9426e83 100644 --- a/public/apps/configuration/top-nav-menu.tsx +++ b/public/apps/configuration/top-nav-menu.tsx @@ -59,7 +59,7 @@ export const SecurityPluginTopNavMenu = React.memo( : undefined, onSelectedDataSources: wrapSetDataSourceWithUpdateUrl, fullWidth: true, - dataSourceFilter: (ds) => ds.attributes.auth.credentials?.service !== 'aoss' + dataSourceFilter: (ds) => ds.attributes.auth.credentials?.service !== 'aoss', }} /> ) : null;