]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Adds total count for VMs. v22.10.1
authorluixal <luixal@gmail.com>
Sat, 8 Oct 2022 19:33:35 +0000 (21:33 +0200)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Sun, 9 Oct 2022 08:23:32 +0000 (10:23 +0200)
src/components/services/Proxmox.vue

index 38d09d3f797085c1e9bd51d34a6e7e838035e525..981bdf1ca5ac0502254307e1a5843c9942b019d9 100644 (file)
@@ -11,7 +11,7 @@
               <strong class="danger">Error loading info!</strong>
             </div>
             <div v-else class="metrics">
-              <span>VMs: <strong class="is-number">{{ vms.running }}</strong></span>
+              <span>VMs: <span class="is-number"><strong>{{ vms.running }}</strong>/{{vms.total}}</span></span>
               <span>Disk: <strong class="is-number" :class="statusClass(diskUsed)">{{ diskUsed }}%</strong></span>
               <span>Mem: <strong class="is-number" :class="statusClass(memoryUsed)">{{ memoryUsed }}%</strong></span>
               <span>CPU: <strong class="is-number" :class="statusClass(cpuUsed)">{{ cpuUsed }}%</strong></span>