From a086f9e068d32411fc7e14d16e81db37fe4747d1 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 22 Apr 2021 19:44:03 +0300 Subject: [PATCH] [SSE] Fix macro list --- apps/spreadsheeteditor/main/app/view/MacroDialog.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/MacroDialog.js b/apps/spreadsheeteditor/main/app/view/MacroDialog.js index f47fa5c8b..14cfa2106 100644 --- a/apps/spreadsheeteditor/main/app/view/MacroDialog.js +++ b/apps/spreadsheeteditor/main/app/view/MacroDialog.js @@ -154,8 +154,15 @@ define([ }, refreshList: function() { - if (this.props) { - this.props.macroList && this.macroList.store.reset(this.props.macroList); + if (this.props && this.props.macroList) { + var list = this.props.macroList; + var arr = []; + for (var i=0; i