const ViewClients = { template: `

Clients of Router {{ $route.params.ip.substring(21) }}

Addr AP FreqHighs SignalLow SignalHigh
{{ item.addr.substring(12) }} {{ item.ap.substring(21) }} {{ item.freq_highest }} {{ item.signal_low_freq }} {{ item.signal_high_freq }}
`, computed: { getClients () { const state = this.$store.state, apIP = this.$route.params.ip; return state.controller._clients.map(function(addr) { return state.controller.clients[addr]; }).filter((client)=> (apIP === undefined || client.ap === apIP)); }, } }