ui: realms: add iconCls to menu entries
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
959df7bf26
commit
da25c5ac41
@ -750,6 +750,7 @@ Ext.define('PVE.Utils', {
|
||||
add: true,
|
||||
tfa: false,
|
||||
pwchange: false,
|
||||
iconCls: 'pmx-itype-icon-openid-logo',
|
||||
},
|
||||
pam: {
|
||||
name: 'Linux PAM',
|
||||
|
@ -93,9 +93,9 @@ Ext.define('PVE.dc.AuthView', {
|
||||
let items = [];
|
||||
for (const [authType, config] of Object.entries(PVE.Utils.authSchema)) {
|
||||
if (!config.add) { continue; }
|
||||
|
||||
items.push({
|
||||
text: config.name,
|
||||
iconCls: 'fa fa-fw ' + (config.iconCls || 'fa-id-card-o'),
|
||||
handler: () => me.openEditWindow(authType),
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user