ui: token selector: use same layout as auth id selector

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-11-09 12:24:54 +01:00
parent 5e8b97178e
commit 9dd6175808

View File

@ -56,20 +56,21 @@ Ext.define('PBS.form.TokenSelector', {
},
listConfig: {
width: 500,
columns: [
{
header: gettext('API Token'),
sortable: true,
dataIndex: 'tokenid',
renderer: Ext.String.htmlEncode,
flex: 1,
flex: 2,
},
{
header: gettext('Comment'),
sortable: false,
dataIndex: 'comment',
renderer: Ext.String.htmlEncode,
flex: 1,
flex: 3,
},
],
},