ui: ds/content: do not count in-progress backups for last made one

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-07-08 12:09:09 +02:00
parent a7a5f56daa
commit 48e22a8900

View File

@ -154,7 +154,7 @@ Ext.define('PBS.DataStoreContent', {
if (item.encrypted > 0) { if (item.encrypted > 0) {
encrypted++; encrypted++;
} }
if (item["backup-time"] > last_backup) { if (item["backup-time"] > last_backup && item.size !== null) {
last_backup = item["backup-time"]; last_backup = item["backup-time"];
group["backup-time"] = last_backup; group["backup-time"] = last_backup;
group.files = item.files; group.files = item.files;