Don't include LXC templates in LXC count

fixes #864
pull/889/head
Jason Fischer 2 years ago
parent e368717c70
commit 0d5f8f6e7c
No known key found for this signature in database

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

Loading…
Cancel
Save