Added alert for empty results

This commit is contained in:
Douglas Barone 2020-12-10 11:50:07 -04:00
parent dd5cb97990
commit 5e69c4b1aa

View File

@ -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">