Skip to content

Commit

Permalink
fix: cannot unlock vault
Browse files Browse the repository at this point in the history
  • Loading branch information
duchunter committed May 23, 2024
1 parent 42cd11e commit 7faac62
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/renderer/layouts/blank.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ export default {
externalContent: ''
}
},
mounted () {
async mounted () {
if (this.$store.state.isLoggedIn) {
await this.$store.dispatch('LoadCurrentUser')
}
// Set lang based on user language
if (this.currentUser?.language && this.currentUser.language !== this.locale) {
const value = this.currentUser.language
Expand Down

0 comments on commit 7faac62

Please sign in to comment.