fix: don't use mutation type in lieu of state
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2021-11-10 20:52:56 +01:00
parent 15a6e52815
commit 628d102907
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 4 deletions

View File

@ -45,7 +45,6 @@ import logoUrl from '@/assets/logo.svg'
import ApiConfig from '@/components/misc/api-config'
import NoAuthWrapper from '@/components/misc/no-auth-wrapper'
import {mapState} from 'vuex'
import {ONLINE} from '@/store/mutation-types'
import {ERROR_NO_API_URL} from '@/helpers/checkAndSetApiUrl'
export default {
@ -71,9 +70,9 @@ export default {
showLoading() {
return !this.ready && this.error === ''
},
...mapState({
online: ONLINE,
}),
...mapState([
'online',
]),
},
methods: {
load() {