tape: ui - remove drive from pool config

This commit is contained in:
Dietmar Maurer 2021-02-01 10:01:06 +01:00
parent 1399c592d1
commit 86740dfc89
2 changed files with 1 additions and 12 deletions

View File

@ -1,6 +1,6 @@
Ext.define('pbs-model-media-pool', { Ext.define('pbs-model-media-pool', {
extend: 'Ext.data.Model', extend: 'Ext.data.Model',
fields: ['drive', 'name', 'allocation', 'retention', 'template', 'encrypt'], fields: ['name', 'allocation', 'retention', 'template', 'encrypt'],
idProperty: 'name', idProperty: 'name',
}); });
@ -98,10 +98,6 @@ Ext.define('PBS.TapeManagement.PoolPanel', {
text: gettext('Name'), text: gettext('Name'),
dataIndex: 'name', dataIndex: 'name',
}, },
{
text: gettext('Drive'),
dataIndex: 'drive',
},
{ {
text: gettext('Allocation'), text: gettext('Allocation'),
dataIndex: 'allocation', dataIndex: 'allocation',

View File

@ -30,13 +30,6 @@ Ext.define('PBS.TapeManagement.PoolEditWindow', {
editable: '{isCreate}', editable: '{isCreate}',
}, },
}, },
{
fieldLabel: gettext('Drive'),
xtype: 'pbsDriveSelector',
name: 'drive',
allowBlank: false,
autoSelect: false,
},
{ {
fieldLabel: gettext('Allocation'), fieldLabel: gettext('Allocation'),
xtype: 'pbsAllocationSelector', xtype: 'pbsAllocationSelector',