make translation helper for laravel

This commit is contained in:
Milos Holba
2021-03-22 10:46:27 +01:00
parent c8dedd44c4
commit 61635db3db
12 changed files with 141 additions and 127 deletions
+5 -2
View File
@@ -4,7 +4,7 @@
<!--System alerts-->
<Alert/>
<div id="application-wrapper" v-if="! isGuestLayout">
<div id="application-wrapper" v-show="loadedLanguage" v-if="! isGuestLayout">
<!-- Full File Preview -->
<FileFullPreview/>
@@ -148,6 +148,7 @@ export default {
data() {
return {
isScaledDown: false,
loadedLanguage: false,
}
},
methods: {
@@ -181,7 +182,9 @@ export default {
},
mounted() {
this.$loadLanguage()
this.$loadLanguage().then((loaded) => {
this.loadedLanguage = loaded
})
this.$checkOS()