Compare commits
4 Commits
0b825a61bb
...
55e240e68d
Author | SHA1 | Date |
---|---|---|
|
55e240e68d | |
|
71b25774d0 | |
|
1697728b2a | |
|
4242efbd4c |
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue