mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-12 14:19:06 +00:00
www: cover metadata extension for pxar archives
Allows to access the pxar metadata archives for navigation and download via the Proxmox Backup Server web ui. Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
parent
82f4d32544
commit
4dcc60e3d3
@ -1050,7 +1050,7 @@ Ext.define('PBS.DataStoreContent', {
|
||||
tooltip: gettext('Browse'),
|
||||
getClass: (v, m, { data }) => {
|
||||
if (
|
||||
(data.ty === 'file' && data.filename.endsWith('pxar.didx')) ||
|
||||
(data.ty === 'file' && (data.filename.endsWith('.pxar.didx') || data.filename.endsWith('.mpxar.didx'))) ||
|
||||
(data.ty === 'ns' && !data.root)
|
||||
) {
|
||||
return 'fa fa-folder-open-o';
|
||||
@ -1058,7 +1058,9 @@ Ext.define('PBS.DataStoreContent', {
|
||||
return 'pmx-hidden';
|
||||
},
|
||||
isActionDisabled: (v, r, c, i, { data }) =>
|
||||
!(data.ty === 'file' && data.filename.endsWith('pxar.didx') && data['crypt-mode'] < 3) && data.ty !== 'ns',
|
||||
!(data.ty === 'file' &&
|
||||
(data.filename.endsWith('.pxar.didx') || data.filename.endsWith('.mpxar.didx')) &&
|
||||
data['crypt-mode'] < 3) && data.ty !== 'ns',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user