Close email modal on login complete
This commit is contained in:
@@ -73,6 +73,10 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.$subscribeTo(fb.currentUser$, (user) => {
|
||||||
|
if (user) this.hideModal()
|
||||||
|
})
|
||||||
|
|
||||||
this._keyListener = function (e) {
|
this._keyListener = function (e) {
|
||||||
if (e.key === "Escape") {
|
if (e.key === "Escape") {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
|||||||
Reference in New Issue
Block a user