Added icons
This commit is contained in:
parent
94773e52bf
commit
093c7f3a7e
|
@ -36,8 +36,29 @@
|
|||
{{ user.displayName }}
|
||||
</div>
|
||||
<template #actions>
|
||||
{{ user.wifiDevices.length }}
|
||||
{{ user.wifiDevices.length > 1 ? 'dispositivos' : 'disposivo' }}
|
||||
<v-badge
|
||||
color="green"
|
||||
bottom
|
||||
:content="
|
||||
user.wifiDevices
|
||||
.filter(wifiDevice => wifiDevice.status === 'ONLINE')
|
||||
.length.toString()
|
||||
"
|
||||
>
|
||||
<v-icon color="green">mdi-cellphone-wireless</v-icon>
|
||||
</v-badge>
|
||||
<v-badge
|
||||
class="mx-4"
|
||||
color="grey"
|
||||
bottom
|
||||
:content="
|
||||
user.wifiDevices
|
||||
.filter(wifiDevice => wifiDevice.status === 'OFFLINE')
|
||||
.length.toString()
|
||||
"
|
||||
>
|
||||
<v-icon color="grey">mdi-cellphone-wireless</v-icon>
|
||||
</v-badge>
|
||||
</template>
|
||||
</v-expansion-panel-header>
|
||||
<v-expansion-panel-content>
|
||||
|
@ -94,6 +115,7 @@ export default {
|
|||
hostname
|
||||
firstSeen
|
||||
lastSeen
|
||||
status
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user