From 7099f5598265998394dc58f1e7c734e1a666b29e Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Thu, 30 Jun 2022 09:11:10 -0300 Subject: [PATCH] Only shows spinner when no loading is happening. #11 --- src/pages/CollectionPage.vue | 29 ++++++++++++++++------------- src/pages/ItemsPage.vue | 12 +++++++++--- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/src/pages/CollectionPage.vue b/src/pages/CollectionPage.vue index a68757a..83a18b8 100644 --- a/src/pages/CollectionPage.vue +++ b/src/pages/CollectionPage.vue @@ -13,9 +13,9 @@ :message="$t('label_loading')" > - +
{{$t('label_no_results_found')}} @@ -196,15 +196,18 @@ export default defineComponent({ \ No newline at end of file diff --git a/src/pages/ItemsPage.vue b/src/pages/ItemsPage.vue index 027dacf..25bd944 100644 --- a/src/pages/ItemsPage.vue +++ b/src/pages/ItemsPage.vue @@ -11,8 +11,8 @@ - -
+ +
{{$t('label_no_results_found')}}
@@ -111,4 +111,10 @@ export default { this.setIsLoading(false) }, } - \ No newline at end of file + + + \ No newline at end of file