소스 검색

HUE-9291 [editor] Don't error for sync results

Johan Ahlen 5 년 전
부모
커밋
1ebdf5a124
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      desktop/core/src/desktop/js/apps/notebook2/execution/executionResult.js

+ 0 - 4
desktop/core/src/desktop/js/apps/notebook2/execution/executionResult.js

@@ -138,10 +138,6 @@ export default class ExecutionResult {
    * @return {Promise}
    */
   async fetchRows(options) {
-    if (this.executable.status !== EXECUTION_STATUS.available) {
-      return Promise.reject();
-    }
-
     const resultResponse = await apiHelper.fetchResults({
       executable: this.executable,
       rows: (options && options.rows) || 100,