ui: tape: add missing monStoreErrors calls for the grids

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-03-03 15:00:53 +01:00 committed by Dietmar Maurer
parent 78593b5b5c
commit bec357e2cb
5 changed files with 20 additions and 0 deletions

View File

@ -49,6 +49,10 @@ Ext.define('PBS.TapeManagement.ChangerPanel', {
startStore: function() {
this.getView().getStore().rstore.startUpdate();
},
init: function(view) {
Proxmox.Utils.monStoreErrors(view, view.getStore().rstore);
},
},
listeners: {

View File

@ -94,6 +94,10 @@ Ext.define('PBS.TapeManagement.DrivePanel', {
startStore: function() {
this.getView().getStore().rstore.startUpdate();
},
init: function(view) {
Proxmox.Utils.monStoreErrors(view, view.getStore().rstore);
},
},
listeners: {

View File

@ -68,6 +68,10 @@ Ext.define('PBS.TapeManagement.EncryptionPanel', {
startStore: function() {
this.getView().getStore().rstore.startUpdate();
},
init: function(view) {
Proxmox.Utils.monStoreErrors(view, view.getStore().rstore);
},
},
listeners: {

View File

@ -58,6 +58,10 @@ Ext.define('PBS.TapeManagement.PoolPanel', {
startStore: function() {
this.getView().getStore().rstore.startUpdate();
},
init: function(view) {
Proxmox.Utils.monStoreErrors(view, view.getStore().rstore);
},
},
listeners: {

View File

@ -160,6 +160,10 @@ Ext.define('PBS.TapeManagement.TapeInventory', {
params: { 'update-status': true },
});
},
init: function(view) {
Proxmox.Utils.monStoreErrors(view, view.getStore());
},
},
listeners: {