add loading wheel to some slow views

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
setop 2021-08-04 11:23:37 +02:00 committed by Thomas Citharel
parent d0ac3de354
commit 7d40a75650
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
3 changed files with 584 additions and 601 deletions

File diff suppressed because it is too large Load Diff

View File

@ -22,6 +22,7 @@
</li>
</ul>
</nav>
<b-loading :active.sync="$apollo.loading"></b-loading>
<invitations
v-if="isCurrentActorAnInvitedGroupMember"
:invitations="[groupMember]"

View File

@ -85,6 +85,7 @@
>
</section>
<b-tabs v-else v-model="activeTab" type="is-boxed" class="searchTabs">
<b-loading :active.sync="$apollo.loading"></b-loading>
<b-tab-item>
<template slot="header">
<b-icon icon="calendar"></b-icon>
@ -119,12 +120,6 @@
<b-message v-else-if="$apollo.loading === false" type="is-danger">{{
$t("No events found")
}}</b-message>
<b-loading
v-else-if="$apollo.loading"
:is-full-page="false"
v-model="$apollo.loading"
:can-cancel="false"
/>
</b-tab-item>
<b-tab-item v-if="!tag">
<template slot="header">
@ -162,12 +157,6 @@
<b-message v-else-if="$apollo.loading === false" type="is-danger">
{{ $t("No groups found") }}
</b-message>
<b-loading
v-else-if="$apollo.loading"
:is-full-page="false"
v-model="$apollo.loading"
:can-cancel="false"
/>
</b-tab-item>
</b-tabs>
</div>