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