From 2e6fdef087e3853e76bdc32ba28581c6d5cb047a Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 25 May 2020 15:11:56 +0200 Subject: [PATCH] render_upid: fallback to worker_{id,type} Signed-off-by: Thomas Lamprecht --- Utils.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Utils.js b/Utils.js index 402349a..456c2e3 100644 --- a/Utils.js +++ b/Utils.js @@ -584,8 +584,9 @@ Ext.define('Proxmox.Utils', { utilities: { }, render_upid: function(value, metaData, record) { - var type = record.data.type; - var id = record.data.id; + let task = record.data; + let type = task.type || task.worker_type; + let id = task.id || task.worker_id; return Proxmox.Utils.format_task_description(type, id); },