ui: metricserver: fix enable column
we use 'enable' property here with a default of true, so change the dataIndex and the renderer to reflect that Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
139acf37a2
commit
b0e3095594
@ -65,9 +65,9 @@ Ext.define('PBS.config.MetricServerView', {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: gettext('Enabled'),
|
text: gettext('Enabled'),
|
||||||
dataIndex: 'disable',
|
dataIndex: 'enable',
|
||||||
width: 100,
|
width: 100,
|
||||||
renderer: Proxmox.Utils.format_neg_boolean,
|
renderer: v => Proxmox.Utils.format_boolean(v ?? true),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: gettext('Target Server'),
|
text: gettext('Target Server'),
|
||||||
|
Loading…
Reference in New Issue
Block a user