Introducing BackendUserInfo

This commit is contained in:
Andrew Bastin
2021-05-13 20:16:10 -04:00
parent ee378a128c
commit f55a995c0a
2 changed files with 89 additions and 1 deletions

View File

@@ -14,9 +14,9 @@
</template>
<script>
import { fb } from "~/helpers/fb"
import { setupLocalPersistence } from "~/newstore/localpersistence"
import { performMigrations } from "~/helpers/migrations"
import { initUserInfo } from "~/helpers/teams/BackendUserInfo"
export default {
beforeMount() {
@@ -62,6 +62,8 @@ export default {
}
setupLocalPersistence()
initUserInfo()
},
beforeDestroy() {
document.removeEventListener("keydown", this._keyListener)