fix: compare env var with value to avoid type err

This commit is contained in:
roschaefer 2019-10-10 13:56:28 +02:00 committed by mattwr18
parent c8c0414564
commit adec248b18

View File

@ -22,7 +22,7 @@ export default {
}, },
asyncData({ app }) { asyncData({ app }) {
return { return {
publicRegistration: app.$env.PUBLIC_REGISTRATION, publicRegistration: app.$env.PUBLIC_REGISTRATION === 'true',
} }
}, },
methods: { methods: {