Pārlūkot izejas kodu

HUE-5137 [editor] Fix save query JS error

Enrico Berti 9 gadi atpakaļ
vecāks
revīzija
6b20d8ae46

+ 1 - 1
desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

@@ -1653,7 +1653,7 @@ var EditorViewModel = (function() {
               self.schedulerViewModel.coordinator.refreshParameters();
             }
 
-            hueUtils.changeURL('/notebook/editor' + (self.isMobile() ? '_m' : '') + '?editor=' + data.id);
+            hueUtils.changeURL('/notebook/editor' + (vm.isMobile() ? '_m' : '') + '?editor=' + data.id);
           }
           else {
             hueUtils.changeURL('/notebook/notebook?notebook=' + data.id);