From bc4663ce11fe04817dc74c1e64ae22260b51e9d9 Mon Sep 17 00:00:00 2001 From: Stratoula Kalafateli Date: Fri, 2 Aug 2024 13:42:41 +0200 Subject: [PATCH] Fixes --- .../public/application/main/state_management/discover_state.ts | 2 ++ .../top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap | 1 + 2 files changed, 3 insertions(+) diff --git a/src/plugins/discover/public/application/main/state_management/discover_state.ts b/src/plugins/discover/public/application/main/state_management/discover_state.ts index 65bb66c5efeac..973cdf831c23a 100644 --- a/src/plugins/discover/public/application/main/state_management/discover_state.ts +++ b/src/plugins/discover/public/application/main/state_management/discover_state.ts @@ -369,6 +369,7 @@ export function getDiscoverStateContainer({ language: 'kuery', query: '', }, + columns: [], dataSource: { type: DataSourceType.DataView, dataViewId, @@ -383,6 +384,7 @@ export function getDiscoverStateContainer({ dataSource: { type: DataSourceType.Esql, }, + columns: [], }); }; diff --git a/src/plugins/navigation/public/top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap b/src/plugins/navigation/public/top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap index 570699aa0c0e2..ab174c6d00102 100644 --- a/src/plugins/navigation/public/top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap +++ b/src/plugins/navigation/public/top_nav_menu/__snapshots__/top_nav_menu_item.test.tsx.snap @@ -2,6 +2,7 @@ exports[`TopNavMenu Should render emphasized item which should be clickable 1`] = `