updateTasks: function(store, records, success) {
if (!success) return;
let me = this;
+ let viewModel = me.getViewModel();
records.sort((a, b) => a.data.duration - b.data.duration);
let top10 = records.slice(-10);
prune: { error: 0, warning: 0, ok: 0 },
garbage_collection: { error: 0, warning: 0, ok: 0 },
sync: { error: 0, warning: 0, ok: 0 },
+ verify: { error: 0, warning: 0, ok: 0 },
};
records.forEach(record => {
type = 'sync';
}
+ if (type.startsWith('verify')) {
+ type = 'verify';
+ }
+
if (data[type] && record.data.status) {
let parsed = Proxmox.Utils.parse_task_status(record.data.status);
data[type][parsed]++;