فهرست منبع

HUE-3634 [editor] Reset editor URL when clearing history not on a saved query

Romain Rigaux 9 سال پیش
والد
کامیت
7de680c
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

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

@@ -1324,6 +1324,7 @@
         if (self.isHistory()) {
           self.id(null);
           self.uuid(UUID());
+          hueUtils.changeURL('/notebook/editor');
         }
       }).fail(function (xhr) {
         $(document).trigger("error", xhr.responseText);