mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-05 09:17:59 +03:00
ui: dashboard: fix missing prune jobs on task summary
we want to count types 'prune' and 'prunejobs' for this Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
d5c03df552
commit
21ff6e593b
@ -106,6 +106,10 @@ Ext.define('PBS.Dashboard', {
|
||||
type = 'verify';
|
||||
}
|
||||
|
||||
if (type.startsWith('prune')) {
|
||||
type = 'prune';
|
||||
}
|
||||
|
||||
if (data[type] && task.status) {
|
||||
let parsed = Proxmox.Utils.parse_task_status(task.status);
|
||||
data[type][parsed]++;
|
||||
|
Loading…
Reference in New Issue
Block a user