mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 15:47:41 +00:00
fix jslint errors in ha resources
also the correct value for haGroupSelector is [] not '', with this, the reset button works correctly Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
cb38d277de
commit
290a3751af
@ -2,6 +2,7 @@ Ext.define('PVE.ha.GroupSelector', {
|
|||||||
extend: 'PVE.form.ComboGrid',
|
extend: 'PVE.form.ComboGrid',
|
||||||
alias: ['widget.pveHAGroupSelector'],
|
alias: ['widget.pveHAGroupSelector'],
|
||||||
|
|
||||||
|
value: [],
|
||||||
autoSelect: false,
|
autoSelect: false,
|
||||||
valueField: 'group',
|
valueField: 'group',
|
||||||
displayField: 'group',
|
displayField: 'group',
|
||||||
|
@ -75,7 +75,6 @@ Ext.define('PVE.ha.VMResourceInputPanel', {
|
|||||||
{
|
{
|
||||||
xtype: 'pveHAGroupSelector',
|
xtype: 'pveHAGroupSelector',
|
||||||
name: 'group',
|
name: 'group',
|
||||||
value: '',
|
|
||||||
fieldLabel: gettext('Group')
|
fieldLabel: gettext('Group')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -176,7 +176,7 @@ Ext.define('PVE.ha.ResourcesView', {
|
|||||||
extend: 'Ext.data.Model',
|
extend: 'Ext.data.Model',
|
||||||
fields: [
|
fields: [
|
||||||
'sid', 'state', 'digest', 'errors', 'group', 'comment',
|
'sid', 'state', 'digest', 'errors', 'group', 'comment',
|
||||||
'max_restart', 'max_relocate',
|
'max_restart', 'max_relocate'
|
||||||
],
|
],
|
||||||
idProperty: 'sid'
|
idProperty: 'sid'
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user