Fixed render logic to add DRAFT to dataset links [ref #3038] #6969
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.
What this PR does / why we need it:
Fixes the links (both title link AND icon link) on dataset cards on My Data pg so if it is a DRAFT you land on the draft version and not the latest published version.
Which issue(s) this PR closes:
Closes #3038 Draft Version URL Problem in "My Data"
Special notes for your reviewer:
My community mtg gift...
Suggestions on how to test this:
Log in as user who has access to a draft version of a dataset, that also has a published version, so that there are two cards displaying on My Data pg.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No, it if fixes a UI bug.
Is there a release notes update needed for this change?:
"My Data is not dead yet."
Additional documentation:
N/A