Skip to content

Commit 7a7a959

Browse files
committed
Merge branch 'develop'
2 parents 920bc65 + c59595a commit 7a7a959

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/components/Guard.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ export default {
8181
LoginWithProvider,
8282
},
8383
84+
data() {
85+
return {
86+
top: this.$vuetify.application.top,
87+
}
88+
},
89+
8490
computed: {
8591
...mapState("auth", ["config", "tab"]),
8692
...mapGetters("auth", [
@@ -117,6 +123,12 @@ export default {
117123
this.initializeGuard()
118124
},
119125
126+
updated() {
127+
if (this.$vuetify.application.top > this.top) {
128+
this.$vuetify.application.top = this.top
129+
}
130+
},
131+
120132
methods: {
121133
...mapActions("auth", ["initializeGuard", "loginWithEmail", "registerUser", "signOut", "sendVerificationEmail"]),
122134
...mapMutations("auth", ["SET_TAB", "SET_USER", "SET_AUTH_GUARD_DIALOG_SHOWN", "SET_PASSWORD_RESET_SCREEN_SHOWN"]),

0 commit comments

Comments
 (0)