ui: datastore/Content: improve verification actions

verifying a single snapshot is now never skipped because of recent verify
verifying a group will now reverify after 29 days to be consistent
with the 'All OK (old)' display

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2022-01-27 15:13:20 +01:00 committed by Thomas Lamprecht
parent 7a1a5d206d
commit 127c5ac3a9

View File

@ -388,11 +388,13 @@ Ext.define('PBS.DataStoreContent', {
"backup-type": data["backup-type"], "backup-type": data["backup-type"],
"backup-id": data["backup-id"], "backup-id": data["backup-id"],
"backup-time": (data['backup-time'].getTime()/1000).toFixed(0), "backup-time": (data['backup-time'].getTime()/1000).toFixed(0),
"outdated-after": 0, // always reverify single snapshots
}; };
} else { } else {
params = { params = {
"backup-type": data.backup_type, "backup-type": data.backup_type,
"backup-id": data.backup_id, "backup-id": data.backup_id,
"outdated-after": 29, // reverify after 29 days so match with the "old" display
}; };
} }