Bugfix
This commit is contained in:
parent
c5785757ee
commit
fcedb29135
|
@ -62,8 +62,8 @@ export async function userPresence(_, { search }) {
|
|||
thumbnailPhoto: userPresence.thumbnailPhoto,
|
||||
lastSeen: userPresence.wifiDevices[0].lastSeen,
|
||||
status: userPresence.wifiDevices[0].status,
|
||||
apName: userPresence.wifiDevices[0].apName,
|
||||
local: userPresence.wifiDevices[0].accessPoint.local
|
||||
apName: userPresence.wifiDevices[0].accessPoint?.name || userPresence.wifiDevices[0].apName || userPresence.wifiDevices[0].accessPoint?.hostname,
|
||||
local: userPresence.wifiDevices[0].accessPoint?.local
|
||||
}))
|
||||
.slice(0, 200)
|
||||
}
|
||||
|
|
|
@ -139,8 +139,15 @@
|
|||
<span class="font-weight-medium">On-line</span>
|
||||
</v-list-item-subtitle>
|
||||
<v-list-item-subtitle>
|
||||
<span class="font-weight-medium">
|
||||
{{ userPresence.local || userPresence.apName }}
|
||||
<span
|
||||
v-if="userPresence.local"
|
||||
class="font-weight-medium"
|
||||
>
|
||||
{{ userPresence.local }}
|
||||
</span>
|
||||
<span v-else>
|
||||
Próximo ao AP
|
||||
{{ userPresence.apName }}
|
||||
</span>
|
||||
</v-list-item-subtitle>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue
Block a user