1
0

fix(ready): remove class form fragment

This commit is contained in:
Dominik Pschenitschni
2022-01-01 13:43:24 +01:00
parent cdbd1c2ac4
commit 29d8422e94
6 changed files with 45 additions and 30 deletions

View File

@ -50,11 +50,12 @@ import Message from '@/components/misc/message.vue'
import NoAuthWrapper from '@/components/misc/no-auth-wrapper.vue'
import {ERROR_NO_API_URL} from '@/helpers/checkAndSetApiUrl'
import {useOnline} from '@/composables/useOnline'
const store = useStore()
const ready = computed(() => store.state.vikunjaReady)
const online = computed(() => store.state.online)
const online = useOnline()
const error = ref('')
const showLoading = computed(() => !ready.value && error.value === '')