From 6b9a590ddd46a1733c296f52f062922ed64a4dc6 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 24 Jan 2022 20:20:04 +0100 Subject: [PATCH] Refresh right after login --- src/components/Login.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Login.vue b/src/components/Login.vue index d235dfad..a92f101c 100644 --- a/src/components/Login.vue +++ b/src/components/Login.vue @@ -97,6 +97,8 @@ export default class Login extends Vue { // eslint-disable-next-line @typescript-eslint/no-unused-vars @ftbot.Action selectBot!: (botId: string) => void; + @ftbot.Action allRefreshFull; + @Prop({ default: false }) inModal!: boolean; $refs!: { @@ -174,6 +176,7 @@ export default class Login extends Vue { } this.emitLoginResult(true); + this.allRefreshFull(); if (this.inModal === false) { if (typeof this.$route.query.redirect === 'string') { const resolved = this.$router.resolve({ path: this.$route.query.redirect });