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:
Dominik Csapak 2020-09-01 11:05:20 +02:00 committed by Thomas Lamprecht
parent 4f09d31085
commit 1bfdae7933
1 changed files with 1 additions and 1 deletions

View File

@ -30,8 +30,8 @@ Ext.define('pbs-data-store-snapshots', {
let mode = PBS.Utils.cryptmap.indexOf(file['crypt-mode']);
if (mode !== -1) {
crypt[file['crypt-mode']]++;
}
crypt.count++;
}
});
return PBS.Utils.calculateCryptMode(crypt);