]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: style followup cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 5 Mar 2021 19:01:46 +0000 (20:01 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 5 Mar 2021 20:31:32 +0000 (21:31 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/qemu/MachineEdit.js

index 0d15e8a435f19ae94987aeebc20890a0e1d34e5a..6e294a93ff2189cab2c18b50700381c378569bf6 100644 (file)
@@ -43,21 +43,21 @@ Ext.define('PVE.qemu.MachineInputPanel', {
        this.callParent(arguments);
     },
 
-    items: [{
+    items: {
+       xtype: 'proxmoxKVComboBox',
        name: 'machine',
        reference: 'machine',
-       xtype: 'proxmoxKVComboBox',
        fieldLabel: gettext('Machine'),
        comboItems: [
            ['__default__', PVE.Utils.render_qemu_machine('')],
            ['q35', 'q35'],
        ],
-    }],
+    },
 
-    advancedItems: [{
+    advancedItems: {
+       xtype: 'combobox',
        name: 'version',
        reference: 'version',
-       xtype: 'combobox',
        fieldLabel: gettext('Version'),
        value: 'latest',
        allowBlank: false,
@@ -78,7 +78,7 @@ Ext.define('PVE.qemu.MachineInputPanel', {
                },
            },
        },
-    }],
+    },
 });
 
 Ext.define('PVE.qemu.MachineEdit', {
@@ -86,9 +86,9 @@ Ext.define('PVE.qemu.MachineEdit', {
 
     subject: gettext('Machine'),
 
-    items: [{
+    items: {
        xtype: 'pveMachineInputPanel',
-    }],
+    },
 
     initComponent: function() {
        let me = this;