mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-07-25 15:36:33 +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) {
|
render_upid: function(value, metaData, record) {
|
||||||
var type = record.data.type;
|
let task = record.data;
|
||||||
var id = record.data.id;
|
let type = task.type || task.worker_type;
|
||||||
|
let id = task.id || task.worker_id;
|
||||||
|
|
||||||
return Proxmox.Utils.format_task_description(type, id);
|
return Proxmox.Utils.format_task_description(type, id);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user