Fix transition
This commit is contained in:
parent
b4404ed6e4
commit
18a46374f0
|
@ -50,15 +50,12 @@
|
|||
</v-scale-transition>
|
||||
</div>
|
||||
|
||||
<transition-group
|
||||
<div
|
||||
v-if="
|
||||
!$apollo.queries.userPresence.loading || pagedUserPresences.length
|
||||
"
|
||||
name="scale-transition"
|
||||
tag="div"
|
||||
class="layout row row--dense wrap"
|
||||
mode="out-in"
|
||||
>
|
||||
<v-fade-transition class="layout row row--dense wrap" group>
|
||||
<v-col
|
||||
v-for="userPresence in pagedUserPresences"
|
||||
:key="userPresence.id"
|
||||
|
@ -107,7 +104,9 @@
|
|||
|
||||
<template v-if="userPresence.status == 'RECENT'">
|
||||
<v-list-item-subtitle>
|
||||
<span class="font-weight-medium">Visto recentemente</span>
|
||||
<span class="font-weight-medium"
|
||||
>Visto recentemente</span
|
||||
>
|
||||
</v-list-item-subtitle>
|
||||
<v-list-item-subtitle>
|
||||
Próximo ao AP
|
||||
|
@ -133,7 +132,8 @@
|
|||
</v-list>
|
||||
</v-card>
|
||||
</v-col>
|
||||
</transition-group>
|
||||
</v-fade-transition>
|
||||
</div>
|
||||
|
||||
<div v-else>
|
||||
<div class="layout row row--dense wrap">
|
||||
|
@ -156,7 +156,6 @@
|
|||
</v-col>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<v-alert
|
||||
v-if="!pagedUserPresences.length && search"
|
||||
icon="mdi-account-search"
|
||||
|
@ -166,7 +165,7 @@
|
|||
Sua pesquisa não encontrou nenhum usuário.
|
||||
</v-alert>
|
||||
|
||||
<v-footer class="mt-6 light-shadow" outlined rounded>
|
||||
<v-footer class="mt-6 light-shadow" absolute>
|
||||
<span v-if="$vuetify.breakpoint.mdAndUp">
|
||||
Ordenando por <em>"visto por último"</em>
|
||||
</span>
|
||||
|
@ -239,7 +238,7 @@ export default {
|
|||
},
|
||||
apollo: {
|
||||
userPresence: {
|
||||
fetchPolicy: 'cache-and-network',
|
||||
// fetchPolicy: 'cache-and-network',
|
||||
query: gql`
|
||||
query($search: String = "") {
|
||||
userPresence(search: $search) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user