fix: don't use mutation type in lieu of state
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
15a6e52815
commit
628d102907
|
@ -45,7 +45,6 @@ import logoUrl from '@/assets/logo.svg'
|
||||||
import ApiConfig from '@/components/misc/api-config'
|
import ApiConfig from '@/components/misc/api-config'
|
||||||
import NoAuthWrapper from '@/components/misc/no-auth-wrapper'
|
import NoAuthWrapper from '@/components/misc/no-auth-wrapper'
|
||||||
import {mapState} from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
import {ONLINE} from '@/store/mutation-types'
|
|
||||||
import {ERROR_NO_API_URL} from '@/helpers/checkAndSetApiUrl'
|
import {ERROR_NO_API_URL} from '@/helpers/checkAndSetApiUrl'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@ -71,9 +70,9 @@ export default {
|
||||||
showLoading() {
|
showLoading() {
|
||||||
return !this.ready && this.error === ''
|
return !this.ready && this.error === ''
|
||||||
},
|
},
|
||||||
...mapState({
|
...mapState([
|
||||||
online: ONLINE,
|
'online',
|
||||||
}),
|
]),
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
load() {
|
load() {
|
||||||
|
|
Reference in New Issue