Merge pull request #155 from DaehunGwak/quiz-app/empty-locale

fix empty locale option when first created (quiz-app)
pull/156/head
Jen Looper 4 years ago committed by GitHub
commit 0fa329ed1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,7 +38,9 @@ export default {
}, },
}, },
created() { created() {
this.locale = this.$route.query.loc; if (this.$route.query.loc) {
this.locale = this.$route.query.loc;
}
}, },
}; };
</script> </script>

Loading…
Cancel
Save