From c9439eafa2baf88415e11cd0679eb704b02f7c70 Mon Sep 17 00:00:00 2001 From: Jason Fischer Date: Sun, 29 Jan 2023 09:44:15 -0800 Subject: [PATCH] Don't show QEMU templates in VMs field for Proxmox widget fixes #864 --- src/widgets/proxmox/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/proxmox/component.jsx b/src/widgets/proxmox/component.jsx index 3741904a9..00f20e58f 100644 --- a/src/widgets/proxmox/component.jsx +++ b/src/widgets/proxmox/component.jsx @@ -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") || [];