diff --git a/pages/target/_id.vue b/pages/target/_id.vue index 14420a4e0e0f3b21a0035ec448cc757bac6de6d8..943311138c3e4a2da21db463e013f0d3f31006b0 100644 --- a/pages/target/_id.vue +++ b/pages/target/_id.vue @@ -19,7 +19,7 @@ export default { async asyncData({ $axios, error, params, redirect }) { const entityID = EntityNames.EubopenTarget.entityID const receivedID = params.id - let itemID = receivedID + let itemID = receivedID.replace(/___/g, '/') const isChemblID = /^CHEMBL\d+$/.test(receivedID) @@ -116,7 +116,7 @@ export default { }, computed: { itemID() { - return this.$route.params.id + return this.$route.params.id.replace(/___/g, '/') }, }, methods: { diff --git a/web-components-submodule b/web-components-submodule index 7f8b2a8e194f574cd612146c2eeb9efbaf94e9b9..ab34b0377880360cdefbe03a3725d8503be4d1ca 160000 --- a/web-components-submodule +++ b/web-components-submodule @@ -1 +1 @@ -Subproject commit 7f8b2a8e194f574cd612146c2eeb9efbaf94e9b9 +Subproject commit ab34b0377880360cdefbe03a3725d8503be4d1ca