mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-07-24 05:59:47 +00:00
render_upid: fallback to worker_{id,type}
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
88725b272a
commit
2e6fdef087
5
Utils.js
5
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);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user