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]
}
"Subnet information"
type SubnetInfo {
shortName: String!
name: String!

View File

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