tasks: include API token ID if available

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2020-09-23 10:38:49 +02:00 committed by Thomas Lamprecht
parent aaa9ba62de
commit c2ad526694
2 changed files with 5 additions and 1 deletions

View File

@ -55,7 +55,7 @@ Ext.define('Proxmox.RestProxy', {
return 0;
},
},
'node', 'upid', 'user', 'status', 'type', 'id',
'node', 'upid', 'user', 'tokenid', 'status', 'type', 'id',
],
idProperty: 'upid',
});

View File

@ -130,6 +130,10 @@ Ext.define('Proxmox.window.TaskViewer', {
renderer: Ext.String.htmlEncode,
required: true,
},
tokenid: {
header: gettext('API Token'),
renderer: Ext.String.htmlEncode,
},
node: {
header: gettext('Node'),
required: true,