mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 12:09:14 +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',
|
||||
alias: ['widget.pveHAGroupSelector'],
|
||||
|
||||
value: [],
|
||||
autoSelect: false,
|
||||
valueField: 'group',
|
||||
displayField: 'group',
|
||||
|
@ -75,7 +75,6 @@ Ext.define('PVE.ha.VMResourceInputPanel', {
|
||||
{
|
||||
xtype: 'pveHAGroupSelector',
|
||||
name: 'group',
|
||||
value: '',
|
||||
fieldLabel: gettext('Group')
|
||||
},
|
||||
{
|
||||
|
@ -176,7 +176,7 @@ Ext.define('PVE.ha.ResourcesView', {
|
||||
extend: 'Ext.data.Model',
|
||||
fields: [
|
||||
'sid', 'state', 'digest', 'errors', 'group', 'comment',
|
||||
'max_restart', 'max_relocate',
|
||||
'max_restart', 'max_relocate'
|
||||
],
|
||||
idProperty: 'sid'
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user