chore: cleanup
continuous-integration/drone/pr Build was killed Details

This commit is contained in:
kolaente 2021-10-25 22:17:03 +02:00
parent 43ef07e100
commit 3b64b24da2
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ export default {
},
}),
getters: {
migratorsEnabled: state => state.availableMigrators !== null && state.availableMigrators.length > 0,
migratorsEnabled: state => state.availableMigrators?.length > 0,
},
mutations: {
[CONFIG](state, config) {
@ -66,7 +66,7 @@ export default {
async update(ctx) {
const HTTP = HTTPFactory()
const { data: info } = await HTTP.get('info')
const {data: info} = await HTTP.get('info')
ctx.commit(CONFIG, info)
return info
},