From 78091715d78a5cee72b4d12fa0700860fb7c59fe Mon Sep 17 00:00:00 2001 From: LucHeart Date: Wed, 27 Sep 2023 15:29:43 +0200 Subject: [PATCH] Change loading spinners --- src/assets/images/Icon.svg | 24 ++++++++++++++++ src/assets/images/IconLoadingSpin.svg | 24 ++++++++++++++++ src/views/dashboard/shockers/own/Own.vue | 5 ++++ src/views/utils/Loading.vue | 36 ++---------------------- 4 files changed, 56 insertions(+), 33 deletions(-) create mode 100644 src/assets/images/Icon.svg create mode 100644 src/assets/images/IconLoadingSpin.svg diff --git a/src/assets/images/Icon.svg b/src/assets/images/Icon.svg new file mode 100644 index 0000000..7ab62d0 --- /dev/null +++ b/src/assets/images/Icon.svg @@ -0,0 +1,24 @@ + + + + + diff --git a/src/assets/images/IconLoadingSpin.svg b/src/assets/images/IconLoadingSpin.svg new file mode 100644 index 0000000..adbfaba --- /dev/null +++ b/src/assets/images/IconLoadingSpin.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/dashboard/shockers/own/Own.vue b/src/views/dashboard/shockers/own/Own.vue index e6fb15a..25955b2 100644 --- a/src/views/dashboard/shockers/own/Own.vue +++ b/src/views/dashboard/shockers/own/Own.vue @@ -4,6 +4,8 @@ + + @@ -95,6 +97,7 @@ export default { components: {Loading, Device}, data() { return { + loadingShockers: true, ownShockers: [], devices: [], modelOptions: [ @@ -193,6 +196,8 @@ export default { } }); }); + + this.loadingShockers = false; }, async loadDevices() { this.devicesLoading = true; diff --git a/src/views/utils/Loading.vue b/src/views/utils/Loading.vue index 4dfcb10..e44d192 100644 --- a/src/views/utils/Loading.vue +++ b/src/views/utils/Loading.vue @@ -1,46 +1,16 @@