Эх сурвалжийг харах

HUE-9028 [editor] Switch to the result tab after the active executable has results available

Johan Ahlen 6 жил өмнө
parent
commit
e995c4340c

+ 3 - 0
desktop/core/src/desktop/js/apps/notebook2/snippet.js

@@ -1011,6 +1011,9 @@ export default class Snippet {
     huePubSub.subscribe(EXECUTABLE_UPDATED_EVENT, executable => {
       if (this.activeExecutable() === executable) {
         this.status(executable.status);
+        if (executable.result) {
+          this.currentQueryTab('queryResults');
+        }
       }
     });