]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
node: add MTU column in NetworkView
authorOguz Bektas <o.bektas@proxmox.com>
Thu, 8 Jul 2021 13:44:28 +0000 (15:44 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Jul 2021 14:37:27 +0000 (16:37 +0200)
hidden by default since it's an "advanced" setting

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
src/node/NetworkView.js

index 34b0da88310281382182e0265c4f31d577a8fe74..b40a06dbd7de07e00ed58f39399718ba7ce0030e 100644 (file)
@@ -421,6 +421,12 @@ Ext.define('Proxmox.node.NetworkView', {
                            sortable: true,
                            dataIndex: 'vlan-raw-device',
                        },
+                       {
+                           header: gettext('MTU'),
+                           hidden: true,
+                           sortable: true,
+                           dataIndex: 'mtu',
+                       },
                        {
                            header: gettext('Comment'),
                            dataIndex: 'comments',