Fix loading state
This commit is contained in:
parent
4928dd3a73
commit
b4404ed6e4
|
@ -40,9 +40,8 @@
|
|||
<span v-if="search">
|
||||
<v-chip color="primary" class="ml-2 mr-1" dark>
|
||||
{{
|
||||
userPresence.filter(
|
||||
presence => presence.wifiDevices[0].isOnline
|
||||
).length
|
||||
userPresence.filter(presence => presence.status == 'ONLINE')
|
||||
.length
|
||||
}}
|
||||
de {{ userPresence.length }}
|
||||
</v-chip>
|
||||
|
@ -53,7 +52,7 @@
|
|||
|
||||
<transition-group
|
||||
v-if="
|
||||
!$apollo.queries.userPresence.loading && pagedUserPresences.length
|
||||
!$apollo.queries.userPresence.loading || pagedUserPresences.length
|
||||
"
|
||||
name="scale-transition"
|
||||
tag="div"
|
||||
|
|
Loading…
Reference in New Issue
Block a user