This commit is contained in:
Douglas Barone 2022-04-14 14:54:11 -04:00
parent 8cf5981965
commit 995739e611
2 changed files with 7 additions and 3 deletions

View File

@ -314,6 +314,7 @@ const typeDefs = gql`
wifiDevices: [WifiDevice] wifiDevices: [WifiDevice]
} }
"Subnet information"
type SubnetInfo { type SubnetInfo {
shortName: String! shortName: String!
name: String! name: String!

View File

@ -70,9 +70,11 @@
:footer-props="{ itemsPerPageOptions: [10, 25, 50, 100, 150] }" :footer-props="{ itemsPerPageOptions: [10, 25, 50, 100, 150] }"
:group-by="groupBy ? 'campus' : null" :group-by="groupBy ? 'campus' : null"
> >
<template #[`group.header`]="{ group, toggle, headers, isOpen }"> <template
<td :colspan="headers.length"> #[`group.header`]="{ group, toggle, headers: { length }, isOpen }"
<v-btn @click="toggle()" icon> >
<td :colspan="length">
<v-btn icon @click="toggle()">
<v-icon v-if="isOpen">mdi-chevron-down</v-icon> <v-icon v-if="isOpen">mdi-chevron-down</v-icon>
<v-icon v-else>mdi-chevron-up</v-icon> <v-icon v-else>mdi-chevron-up</v-icon>
</v-btn> </v-btn>
@ -187,6 +189,7 @@ export default {
defaultHeaders: [ defaultHeaders: [
'name', 'name',
'ip', 'ip',
'mac',
'campus', 'campus',
'local', 'local',
'clients', 'clients',