So that we can modify any filters without always having to consider
filtering for the type too. Note that the 'vm' tyoe here is slightly
confusing and should actually be 'guest', as this also returns
containers. Reduces transmission size a bit as nice side effect.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
store: {
model: 'PVEResources',
- autoLoad: true,
sorters: 'vmid',
- filters: [{
- property: 'type',
- value: /lxc|qemu/,
- }],
},
columnsDeclaration: [
me.callParent();
+ me.getStore().load({ params: { type: 'vm' } });
+
if (me.nodename) {
me.store.filters.add({
property: 'node',