Added alert for empty results
This commit is contained in:
parent
dd5cb97990
commit
5e69c4b1aa
|
@ -35,10 +35,21 @@
|
||||||
</v-chip>
|
</v-chip>
|
||||||
usuários online.
|
usuários online.
|
||||||
</div>
|
</div>
|
||||||
<UserPresenceStatusList
|
<v-scale-transition mode="out-in">
|
||||||
:user-presences="pagedUserPresences"
|
<UserPresenceStatusList
|
||||||
:loading="$apollo.queries.userPresence.loading && !userPresence"
|
v-if="pagedUserPresences.length"
|
||||||
/>
|
:user-presences="pagedUserPresences"
|
||||||
|
:loading="$apollo.queries.userPresence.loading && !userPresence"
|
||||||
|
/>
|
||||||
|
<v-alert
|
||||||
|
v-else-if="search"
|
||||||
|
icon="mdi-account-search"
|
||||||
|
color="info darken-2"
|
||||||
|
dark
|
||||||
|
>
|
||||||
|
Sua pesquisa não encontrou nenhum usuário.
|
||||||
|
</v-alert>
|
||||||
|
</v-scale-transition>
|
||||||
|
|
||||||
<v-footer>
|
<v-footer>
|
||||||
<span v-if="$vuetify.breakpoint.mdAndUp">
|
<span v-if="$vuetify.breakpoint.mdAndUp">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user