ui: tape restore: avoid component/value lookup, use parameters
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
5128ae48a0
commit
8848f1d487
|
@ -163,10 +163,8 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', {
|
|||
});
|
||||
},
|
||||
|
||||
updateDatastores: function() {
|
||||
updateDatastores: function(grid, values) {
|
||||
let me = this;
|
||||
let grid = me.lookup('snapshotGrid');
|
||||
let values = grid.getValue();
|
||||
if (values === 'all') {
|
||||
values = [];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue