Compare commits
No commits in common. "55e240e68dc2731e03e1e0c4475e32327974746f" and "0b825a61bbe1facb5d7ab45e94b911771c5512fc" have entirely different histories.
55e240e68d
...
0b825a61bb
|
@ -101,7 +101,7 @@ import AddAlert from '../alerts/add.vue';
|
||||||
|
|
||||||
async function fetchUser() {
|
async function fetchUser() {
|
||||||
this.user = await this.$store.dispatch('fetchUser', this.$route.params.username);
|
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;
|
this.pageTitle = this.user?.username;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue