Added counters

This commit is contained in:
Douglas Barone 2022-05-26 18:47:49 +00:00
parent ab0412bff2
commit ed1718c764

View File

@ -84,8 +84,15 @@
<v-icon v-if="isOpen">mdi-chevron-down</v-icon>
<v-icon v-else>mdi-chevron-up</v-icon>
</v-btn>
{{ group }}
<v-chip class="ml-1" small outlined>{{ items.length }}</v-chip>
<spam class="font-weight-medium mr-2">{{ group }}</spam>
<v-chip class="ml-1" small outlined>
APs: {{ items.filter(ap => ap.uptime >= 0).length }} online /
{{ items.length }} total
</v-chip>
<v-chip class="ml-1" small outlined>
Clientes conectados:
{{ items.reduce((total, current) => +current.clients + total, 0) }}
</v-chip>
</td>
</template>