Skip to content
Snippets Groups Projects
Commit 5ec7d95c authored by Aurore Chayrouse's avatar Aurore Chayrouse
Browse files

Users : profil fix

parent 46bf8842
No related branches found
No related tags found
No related merge requests found
Pipeline #28185 failed
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
toaster, toaster,
isAdmin, isAdmin,
user: this.isProfil ? {...this.$store.state.user.data} : (this.$store.state.users.all.find(u => u.id === parseInt(this.$route.params.id, 10)) || {...defaultUser}) user: this.$route.path === "/profil" ? {...this.$store.state.user.data} : (this.$store.state.users.all.find(u => u.id === parseInt(this.$route.params.id, 10)) || {...defaultUser})
} }
}, },
computed: { computed: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment