Close email modal on login complete

This commit is contained in:
Andrew Bastin
2021-06-10 23:57:29 -04:00
parent da491a2967
commit 9b43f9a40c

View File

@@ -73,6 +73,10 @@ export default {
}
},
mounted() {
this.$subscribeTo(fb.currentUser$, (user) => {
if (user) this.hideModal()
})
this._keyListener = function (e) {
if (e.key === "Escape") {
e.preventDefault()