ui: correctly enable/disable changer drive buttons

This commit is contained in:
Dietmar Maurer
2021-03-02 09:54:33 +01:00
parent bbe05d7fe9
commit 3c715edd07
2 changed files with 10 additions and 1 deletions

View File

@ -14,6 +14,7 @@ Ext.define('PBS.TapeManagement.LabelMediaWindow', {
let me = this;
return {
driveid: config.driveid,
label: config.label,
};
},
@ -51,6 +52,9 @@ Ext.define('PBS.TapeManagement.LabelMediaWindow', {
name: 'label-text',
xtype: 'proxmoxtextfield',
allowBlank: false,
cbind: {
value: '{label}',
},
},
{
xtype: 'pbsMediaPoolSelector',