model: 'pve-sdn-ipam',
sorters: {
property: 'ipam',
- order: 'DESC'
+ direction: 'ASC',
},
});
header: gettext('Ipam'),
sortable: true,
dataIndex: 'ipam',
- flex: 1
+ flex: 1,
},
- ]
- }
+ ],
+ },
});
me.callParent();
store.load();
- }
+ },
}, function() {
-
Ext.define('pve-sdn-ipam', {
extend: 'Ext.data.Model',
- fields: [ 'ipam' ],
+ fields: ['ipam'],
proxy: {
type: 'proxmox',
- url: "/api2/json/cluster/sdn/ipams"
+ url: "/api2/json/cluster/sdn/ipams",
},
- idProperty: 'ipam'
+ idProperty: 'ipam',
});
-
});