Closed davidcblaney closed 3 years ago
Hi @davidcblaney,
Thank you very much for noticing this error! It is fixed and deployed now. The code for the vue components is here, in the EBI's gitlab: https://gitlab.ebi.ac.uk/chembl/chembl/main-web-interface/glados-frontend-vue Only a few of the components are in vue, but the plan is to replace the current ones to vue one by one.
Great stuff and thanks. We have just checked out the compounds we were interested in it is fixed 👍
OK, yea, I was looking at the source there. Can anyone sign up to your gitlab and open a PR? Wasn't sure if it was private.
The repository is public, and it should allow PRs from external users. But to be honest I haven't checked that case.
Hi,
It seems that in Vue frontend project in datasets/generators/compound/DrugWarningInfo.js, there is a hard-coded Chembl ID. This causes all Drug Warnings sections to be rendered with the same data.
I would open a PR but I'm not sure if or how you guys accept contributions.
Here is a diff of the changes needed to fix this component. I have tested this locally and the data returned for components now matches that of the API.
Many thanks for your great tool and hard work, David