소스 검색

HUE-6077 [editor] Do not leave query hint spinner spin forever if failure

Romain Rigaux 8 년 전
부모
커밋
7b94e04eed
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

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

@@ -935,6 +935,9 @@ var EditorViewModel = (function() {
           },
           always: function(data) {
             self.complexityCheckRunning(false);
+          },
+          error: function(data) {
+            self.complexityCheckRunning(false);
           }
         });
       };