mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-16 14:42:48 +00: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',
|
'status',
|
||||||
'uuid',
|
'uuid',
|
||||||
],
|
],
|
||||||
idProperty: 'label-text',
|
idProperty: 'uuid',
|
||||||
proxy: {
|
proxy: {
|
||||||
type: 'proxmox',
|
type: 'proxmox',
|
||||||
url: '/api2/json/tape/media/list',
|
url: '/api2/json/tape/media/list',
|
||||||
@ -293,5 +293,11 @@ Ext.define('PBS.TapeManagement.TapeInventory', {
|
|||||||
},
|
},
|
||||||
flex: 1,
|
flex: 1,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: gettext('UUID'),
|
||||||
|
dataIndex: 'uuid',
|
||||||
|
flex: 1,
|
||||||
|
hidden: true,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user