From 905df13f1c0c8acbcd280f7486f3013fda98de34 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 14 Nov 2023 15:37:19 +0300 Subject: [PATCH] Fix bug --- apps/spreadsheeteditor/main/app/view/ChartWizardDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/view/ChartWizardDialog.js b/apps/spreadsheeteditor/main/app/view/ChartWizardDialog.js index a279d14221..4be30a3444 100644 --- a/apps/spreadsheeteditor/main/app/view/ChartWizardDialog.js +++ b/apps/spreadsheeteditor/main/app/view/ChartWizardDialog.js @@ -265,7 +265,7 @@ define(['common/main/lib/view/AdvancedSettingsWindow', } }, 'item:add': function (dataView, itemView, record) { - me._currentChartSpace.updateView(record.get('id')); + record && record.get('data').updateView(record.get('id')); } }); Common.UI.FocusManager.insert(this, tab.listPreview, -1 * this.getFooterButtons().length);