mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 05:07:31 +00:00
ui: dc/options: fix renderer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
afa725cd9c
commit
80cfedf852
@ -96,7 +96,7 @@ Ext.define('PVE.dc.OptionView', {
|
|||||||
defaultValue: Proxmox.Utils.noneText,
|
defaultValue: Proxmox.Utils.noneText,
|
||||||
});
|
});
|
||||||
me.add_inputpanel_row('migration', gettext('Migration Settings'), {
|
me.add_inputpanel_row('migration', gettext('Migration Settings'), {
|
||||||
renderer: PVE.Utils.render_dc_ha_opts,
|
renderer: PVE.Utils.render_as_property_string,
|
||||||
labelWidth: 120,
|
labelWidth: 120,
|
||||||
url: "/api2/extjs/cluster/options",
|
url: "/api2/extjs/cluster/options",
|
||||||
defaultKey: 'type',
|
defaultKey: 'type',
|
||||||
@ -138,7 +138,7 @@ Ext.define('PVE.dc.OptionView', {
|
|||||||
}],
|
}],
|
||||||
});
|
});
|
||||||
me.add_inputpanel_row('u2f', gettext('U2F Settings'), {
|
me.add_inputpanel_row('u2f', gettext('U2F Settings'), {
|
||||||
renderer: PVE.Utils.render_dc_ha_opts,
|
renderer: v => !v ? Proxmox.Utils.NoneText : PVE.Parser.printPropertyString(v),
|
||||||
width: 450,
|
width: 450,
|
||||||
url: "/api2/extjs/cluster/options",
|
url: "/api2/extjs/cluster/options",
|
||||||
onlineHelp: 'pveum_configure_u2f',
|
onlineHelp: 'pveum_configure_u2f',
|
||||||
@ -174,7 +174,7 @@ Ext.define('PVE.dc.OptionView', {
|
|||||||
}],
|
}],
|
||||||
});
|
});
|
||||||
me.add_inputpanel_row('webauthn', gettext('WebAuthn Settings'), {
|
me.add_inputpanel_row('webauthn', gettext('WebAuthn Settings'), {
|
||||||
renderer: PVE.Utils.render_dc_ha_opts,
|
renderer: v => !v ? Proxmox.Utils.NoneText : PVE.Parser.printPropertyString(v),
|
||||||
width: 450,
|
width: 450,
|
||||||
url: "/api2/extjs/cluster/options",
|
url: "/api2/extjs/cluster/options",
|
||||||
//onlineHelp: 'pveum_configure_webauthn',
|
//onlineHelp: 'pveum_configure_webauthn',
|
||||||
|
Loading…
Reference in New Issue
Block a user