ui: DataStoreContent: improve encrypted column
do not count files where we do not have any information such files exist in the backup dir, but are not in the manifest so we cannot use those files for determining if the backups are encrypted or not this marks encrypted/signed backups with unencrypted client.log.blob files as encrypted/signed (respectively) instead of 'Mixed' Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
4f09d31085
commit
1bfdae7933
|
@ -30,8 +30,8 @@ Ext.define('pbs-data-store-snapshots', {
|
||||||
let mode = PBS.Utils.cryptmap.indexOf(file['crypt-mode']);
|
let mode = PBS.Utils.cryptmap.indexOf(file['crypt-mode']);
|
||||||
if (mode !== -1) {
|
if (mode !== -1) {
|
||||||
crypt[file['crypt-mode']]++;
|
crypt[file['crypt-mode']]++;
|
||||||
}
|
|
||||||
crypt.count++;
|
crypt.count++;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return PBS.Utils.calculateCryptMode(crypt);
|
return PBS.Utils.calculateCryptMode(crypt);
|
||||||
|
|
Loading…
Reference in New Issue