Преглед изворни кода

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

Johan Ahlen пре 5 година
родитељ
комит
1ebdf5a124

+ 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,