mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
fix: compare env var with value to avoid type err
This commit is contained in:
parent
c8c0414564
commit
adec248b18
@ -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: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user