From 1bfdae793353bc9d5f1c29537c5b470c46802daf Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Tue, 1 Sep 2020 11:05:20 +0200 Subject: [PATCH] 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 --- www/DataStoreContent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/DataStoreContent.js b/www/DataStoreContent.js index 6a5cec0e..21623020 100644 --- a/www/DataStoreContent.js +++ b/www/DataStoreContent.js @@ -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++; } - crypt.count++; }); return PBS.Utils.calculateCryptMode(crypt);