Client - add loader on dashboard

This commit is contained in:
Sam 2021-10-05 19:52:24 +02:00
parent 60eefaec2d
commit 1f5620ca35

View File

@ -63,6 +63,9 @@
</div> </div>
<div id="bottom" /> <div id="bottom" />
</div> </div>
<div v-else class="app-loading">
<Loader />
</div>
</template> </template>
<script lang="ts"> <script lang="ts">
@ -75,6 +78,7 @@
onUnmounted, onUnmounted,
} from 'vue' } from 'vue'
import Loader from '@/components/Common/Loader.vue'
import Timeline from '@/components/Dashboard/Timeline/index.vue' import Timeline from '@/components/Dashboard/Timeline/index.vue'
import UserCalendar from '@/components/Dashboard/UserCalendar/index.vue' import UserCalendar from '@/components/Dashboard/UserCalendar/index.vue'
import UserMonthStats from '@/components/Dashboard/UserMonthStats.vue' import UserMonthStats from '@/components/Dashboard/UserMonthStats.vue'
@ -88,6 +92,7 @@
export default defineComponent({ export default defineComponent({
name: 'Dashboard', name: 'Dashboard',
components: { components: {
Loader,
Timeline, Timeline,
UserCalendar, UserCalendar,
UserMonthStats, UserMonthStats,