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

fix empty locale option when first created (quiz-app)
This commit is contained in:
Jen Looper
2021-01-02 11:17:29 -05:00
committed by GitHub

View File

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