Compare commits

...

4 Commits

Author SHA1 Message Date
DebaucheryLibrarian 55e240e68d Re-added alerts to profile. 2021-05-15 03:49:27 +02:00
DebaucheryLibrarian 71b25774d0 Removed unused variable causing failed build. 2021-05-15 03:35:10 +02:00
DebaucheryLibrarian 1697728b2a Temporarily disabled alerts to address database issues. 2021-05-15 03:32:55 +02:00
DebaucheryLibrarian 4242efbd4c Patched user profile breaking when alerts can't be loaded. 2021-05-15 03:24:21 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ import AddAlert from '../alerts/add.vue';
async function fetchUser() {
this.user = await this.$store.dispatch('fetchUser', this.$route.params.username);
this.isMe = this.user.id === this.$store.state.auth.user?.id;
this.isMe = this.user?.id === this.$store.state.auth.user?.id;
this.pageTitle = this.user?.username;
}