Added APs length to group title

This commit is contained in:
Douglas Barone 2022-04-14 15:46:33 -04:00
parent dc40f544a1
commit 3c2c6909a8

View File

@ -71,7 +71,13 @@
:group-by="groupBy ? 'campus' : null" :group-by="groupBy ? 'campus' : null"
> >
<template <template
#[`group.header`]="{ group, toggle, headers: { length }, isOpen }" #[`group.header`]="{
group,
toggle,
headers: { length },
isOpen,
items
}"
> >
<td :colspan="length"> <td :colspan="length">
<v-btn icon @click="toggle()"> <v-btn icon @click="toggle()">
@ -79,6 +85,7 @@
<v-icon v-else>mdi-chevron-up</v-icon> <v-icon v-else>mdi-chevron-up</v-icon>
</v-btn> </v-btn>
{{ group }} {{ group }}
<v-chip class="ml-1" small outlined>{{ items.length }}</v-chip>
</td> </td>
</template> </template>