ui: datastore options: fix active-ops-tracking store leak

without this the store stayed active in the background and kept
updating every 3s for every datastore the ui was opened.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-04-12 16:21:38 +02:00
parent 6353e22c00
commit 3c8f240712

View File

@ -66,12 +66,18 @@ Ext.define('PBS.Datastore.Options', {
},
stopUpdates: function() {
let view = this.getView();
let me = this;
let view = me.getView();
view.rstore.stopUpdate();
me.activeOperationsRstore.stopUpdate();
},
startUpdates: function() {
let view = this.getView();
let me = this;
let view = me.getView();
view.rstore.startUpdate();
me.activeOperationsRstore.startUpdate();
},
},