From 679d15f3ee3a25549d766414b7da4835fea9211f Mon Sep 17 00:00:00 2001 From: Rudolf Meijering Date: Fri, 2 Aug 2019 15:29:48 +0200 Subject: [PATCH] Fixes #42519 dashboard migration bug --- .../kibana/public/dashboard/migrations/migrate_to_730_panels.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/legacy/core_plugins/kibana/public/dashboard/migrations/migrate_to_730_panels.ts b/src/legacy/core_plugins/kibana/public/dashboard/migrations/migrate_to_730_panels.ts index b52602df1b8b0..5e618956a760c 100644 --- a/src/legacy/core_plugins/kibana/public/dashboard/migrations/migrate_to_730_panels.ts +++ b/src/legacy/core_plugins/kibana/public/dashboard/migrations/migrate_to_730_panels.ts @@ -161,7 +161,7 @@ function migrate610PanelToLatest( } }); - const embeddableConfig = uiState ? uiState[`P-${panel.panelIndex}`] : {}; + const embeddableConfig = uiState ? uiState[`P-${panel.panelIndex}`] || {} : {}; // 2. (6.4) remove columns, sort properties if (panel.columns || panel.sort) {