vsisko commented on a change in pull request #6021: IGNITE-11035 Updates in 
queries page.
URL: https://github.com/apache/ignite/pull/6021#discussion_r254190487
 
 

 ##########
 File path: 
modules/web-console/frontend/app/components/page-queries/components/queries-notebook/controller.ts
 ##########
 @@ -2058,21 +2134,76 @@ export class NotebookCtrl {
             }
         };
 
-        $window.addEventListener('beforeunload', () => {
-            this._closeOpenedQueries(this.$scope.notebook.paragraphs);
+        const offTransitions = $transitions.onBefore({from: 
'base.sql.notebook'}, ($transition$) => {
 
 Review comment:
   Changed to this.offTransitions

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to