[Platform]: update clinicaltrials URL in config #281
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[Platform]: update clinicaltrials URL in config
Description
Update the clinicaltrials base URL in the platform config (urls.js file); this seems to only be used in the Indications widget on drug profile page.
Hence it appears that only packages/sections/src/utils/urls.js is being used: might need to review the use of the other two files.
Note: ClinicalTrials now uses a correct redirect from the old URLs so this fix might no longer be strictly required.
Also, if the URL will come from the API, this fix will also need to be updated accordingly.
Issue: opentargets/issues#3048
Deploy preview: (link)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Check the inications widget on any drug profile page and see the link in the last column:
Checklist: