From 82b8bfb05314c85b2d0e2d028e76118bcfd5d186 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 25 May 2020 18:13:34 +0200 Subject: [PATCH] ui: network: code cleanup Signed-off-by: Thomas Lamprecht --- node/NetworkView.js | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/node/NetworkView.js b/node/NetworkView.js index ec18340..45daa92 100644 --- a/node/NetworkView.js +++ b/node/NetworkView.js @@ -1,12 +1,21 @@ Ext.define('proxmox-networks', { extend: 'Ext.data.Model', fields: [ - 'iface', 'type', 'active', 'autostart', - 'bridge_ports', 'slaves', - 'address', 'netmask', 'gateway', - 'address6', 'netmask6', 'gateway6', - 'cidr', 'cidr6', - 'comments' + 'active', + 'address', + 'address6', + 'autostart', + 'bridge_ports', + 'cidr', + 'cidr6', + 'comments', + 'gateway', + 'gateway6', + 'iface', + 'netmask', + 'netmask6', + 'slaves', + 'type', ], idProperty: 'iface' });