Browse Source

HUE-7096 [presentation] Avoid adding a snippet at execution

Enrico Berti 8 năm trước cách đây
mục cha
commit
3e3e4daf8e

+ 0 - 2
desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

@@ -1569,8 +1569,6 @@ var EditorViewModel = (function() {
         setTimeout(function () {
           self.fetchResultData(rows, false);
         }, 500);
-      } else if (! vm.editorMode() && notebook.snippets()[notebook.snippets().length - 1] == self) {
-        notebook.newSnippet();
       }
     };