mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-02-26 21:57:33 +03:00
ui: tape inventory: use uuid as id
and add it as a hidden column. This now displays all tapes even if there are some with identical label-texts. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
3bf382f411
commit
ee347f69ae
@ -17,7 +17,7 @@ Ext.define('pbs-model-tapes', {
|
||||
'status',
|
||||
'uuid',
|
||||
],
|
||||
idProperty: 'label-text',
|
||||
idProperty: 'uuid',
|
||||
proxy: {
|
||||
type: 'proxmox',
|
||||
url: '/api2/json/tape/media/list',
|
||||
@ -293,5 +293,11 @@ Ext.define('PBS.TapeManagement.TapeInventory', {
|
||||
},
|
||||
flex: 1,
|
||||
},
|
||||
{
|
||||
text: gettext('UUID'),
|
||||
dataIndex: 'uuid',
|
||||
flex: 1,
|
||||
hidden: true,
|
||||
},
|
||||
],
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user