ui: tape/TapeInventory.js - avoid update changer status

We do not update changer status by default - only when pressing "Reload" button.
This commit is contained in:
Dietmar Maurer 2021-02-18 10:10:51 +01:00
parent 9d42fe4d3b
commit 65535670f9

View File

@ -103,7 +103,15 @@ Ext.define('PBS.TapeManagement.TapeInventory', {
},
reload: function() {
this.getView().getStore().load();
this.getView().getStore().load({
params: { 'update-status': false }
});
},
reload_update_status: function() {
this.getView().getStore().load({
params: { 'update-status': true }
});
},
},
@ -121,7 +129,7 @@ Ext.define('PBS.TapeManagement.TapeInventory', {
tbar: [
{
text: gettext('Reload'),
handler: 'reload',
handler: 'reload_update_status',
},
'-',
{