Explorar o código

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

Enrico Berti %!s(int64=8) %!d(string=hai) anos
pai
achega
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();
       }
     };