mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 05:57:32 -07:00
Fix bug
This commit is contained in:
parent
c25e9557b9
commit
1668eccac8
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,7 @@ export default Vue.extend({
|
|||
}
|
||||
},
|
||||
mounted() {
|
||||
if (!this.$root.$data.$store.getters.isSignedIn) return;
|
||||
if (!this.$store.getters.isSignedIn) return;
|
||||
|
||||
// Fetch session
|
||||
(this as any).api('auth/session/show', {
|
||||
|
@ -72,6 +72,7 @@ export default Vue.extend({
|
|||
}
|
||||
}).catch(error => {
|
||||
this.state = 'fetch-session-error';
|
||||
this.fetching = false;
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
|
|
Loading…
Reference in a new issue