5
0
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:
Dominik Csapak 2023-05-03 14:25:17 +02:00 committed by Thomas Lamprecht
parent d5c03df552
commit 21ff6e593b

View File

@ -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]++;