diff --git a/src/views/UserView/UserView.vue b/src/views/UserView/UserView.vue index b6e0b0a3..929204f7 100644 --- a/src/views/UserView/UserView.vue +++ b/src/views/UserView/UserView.vue @@ -77,13 +77,23 @@
Alias
{{ state.user.alias }}

- {{ state.user.earlyAccess?.active ? "Early access" : "No early access" }} + {{ + state.user.earlyAccess?.active + ? "Early access" + : "No early access" + }} @@ -259,13 +269,14 @@ const init = () => { router.push({ name: "NotFound" }); } - router.push({ name: "UserView", params: { id: state.addr } }); getUser(); getCoins(); getMatches(); - console.log(state.user) + console.log(state.user); }; +watch(() => route.params.id, init); + onMounted(init); const getUser = () => {