Skip to content
Snippets Groups Projects
Commit 08481050 authored by Pierre-Jean CHANCELLIER's avatar Pierre-Jean CHANCELLIER
Browse files

update breadcrumb directly

parent f6656672
No related branches found
No related tags found
No related merge requests found
...@@ -79,11 +79,14 @@ export default { ...@@ -79,11 +79,14 @@ export default {
} }
} }
}, },
mounted() {
$nuxt.$emit("changeRoute", this.breadcrumb)
},
watch: { watch: {
idFromHash: { idFromHash: {
handler(n,o) { handler(n,o) {
this.breadcrumb[2].text = this.idFromHash.uid this.breadcrumb[2].text = this.idFromHash.uid
$nuxt.$emit("changeRoute", this.breadcrumb); $nuxt.$emit("changeRoute", this.breadcrumb)
} }
} }
} }
......
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