loading function ejected from vue instance

This commit is contained in:
Burak Civan 2022-08-03 11:04:28 +03:00
parent 71f05121ab
commit 5be8257149
4 changed files with 3 additions and 8 deletions

View File

@ -87,7 +87,6 @@ export default {
"thousands_separator":",",
},
all_currencies: [],
content_loading: true,
connect: {
show: false,
currency: {},
@ -111,10 +110,6 @@ export default {
},
mounted() {
setTimeout(() => {
this.content_loading = false;
}, 1500);
this.checkNotify();
GLightbox({

View File

@ -1,4 +1,4 @@
<div data-absolute-loading-content v-if="content_loading" class="absolute w-full lg:flex items-start justify-center bg-body top-0 bottom-0 left-0 right-0 z-50">
<div data-absolute-loading-content class="absolute w-full lg:flex items-start justify-center bg-body top-0 bottom-0 left-0 right-0 z-50">
<img src="{{ asset('public/img/akaunting-loading.gif') }}" class="w-28 h-28" alt="Akaunting" />
</div>
<!--data attr added because for none vue.js pages-->

View File

@ -1,4 +1,4 @@
<div data-loading-content v-if="content_loading" class="fixed w-full lg:w-4/5 h-screen flex items-center justify-center bg-body top-0 bottom-0 ltr:right-0 rtl:left-0 -mx-1 z-50">
<div data-loading-content class="fixed w-full lg:w-4/5 h-screen flex items-center justify-center bg-body top-0 bottom-0 ltr:right-0 rtl:left-0 -mx-1 z-50">
<img src="{{ asset('public/img/akaunting-loading.gif') }}" class="w-28 h-28 lg:-mt-16" alt="Akaunting" />
</div>
<!--data attr added because for none vue.js pages-->

View File

@ -86,7 +86,7 @@
setTimeout(() => {
loading_menu_html[0].remove();
menu_html.classList.remove('hidden');
}, 800);
}, timer);
if (loading_html.length) {
setTimeout(() => {