From adec248b18cdf2fca77f1b067445eeea26d60891 Mon Sep 17 00:00:00 2001 From: roschaefer Date: Thu, 10 Oct 2019 13:56:28 +0200 Subject: [PATCH] fix: compare env var with value to avoid type err --- webapp/pages/registration/signup.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/pages/registration/signup.vue b/webapp/pages/registration/signup.vue index c78dcc9af..bff658fa6 100644 --- a/webapp/pages/registration/signup.vue +++ b/webapp/pages/registration/signup.vue @@ -22,7 +22,7 @@ export default { }, asyncData({ app }) { return { - publicRegistration: app.$env.PUBLIC_REGISTRATION, + publicRegistration: app.$env.PUBLIC_REGISTRATION === 'true', } }, methods: {