Rafactor
This commit is contained in:
parent
8cf5981965
commit
995739e611
|
@ -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!
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user