]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: form/pci: add simple IOMMU group renderer
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 May 2021 10:30:06 +0000 (12:30 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 May 2021 10:30:06 +0000 (12:30 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/form/PCISelector.js

index 1c949a20ed98988551da6fc83422f024e073d61d..4e0a778fbb31c03c4ad0e8be44a7c012ba09f871 100644 (file)
@@ -32,7 +32,8 @@ Ext.define('PVE.form.PCISelector', {
            {
                header: gettext('IOMMU Group'),
                dataIndex: 'iommugroup',
-               width: 50,
+               renderer: v => v === -1 ? '-' : v,
+               width: 75,
            },
            {
                header: gettext('Vendor'),