Merge pull request #895 from benphelps/fix-864

Don't show QEMU templates in VMs field for Proxmox widget
pull/899/head
shamoon 2 years ago committed by GitHub
commit a7927b4873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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