Don't show QEMU templates in VMs field for Proxmox widget

fixes #864
pull/895/head
Jason Fischer 2 years ago
parent 5af01d2436
commit c9439eafa2
No known key found for this signature in database

@ -31,7 +31,7 @@ export default function Component({ service }) {
}
const { data } = clusterData ;
const vms = data.filter(item => item.type === "qemu") || [];
const vms = data.filter(item => item.type === "qemu" && item.template === 0) || [];
const lxc = data.filter(item => item.type === "lxc" && item.template === 0) || [];
const nodes = data.filter(item => item.type === "node") || [];

Loading…
Cancel
Save