From 33557ba72df34d6f3892621f97bc5d9f764d8781 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 28 May 2020 18:09:35 +0300 Subject: [PATCH] [SSE] Fix adding slicer --- apps/spreadsheeteditor/main/app/controller/Toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index c2595b986..58a13cfff 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -2824,7 +2824,7 @@ define([ (new SSE.Views.SlicerAddDialog({ props: props, handler: function (result, settings) { - if (me && me.api) { + if (me && me.api && result == 'ok') { me.api.asc_insertSlicer(settings); } Common.NotificationCenter.trigger('edit:complete', me.toolbar);