Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(AC): Fix author credit link #868

Merged
merged 1 commit into from
Aug 5, 2022
Merged

Fix(AC): Fix author credit link #868

merged 1 commit into from
Aug 5, 2022

Conversation

MonkeyDo
Copy link
Member

@MonkeyDo MonkeyDo commented Aug 5, 2022

We have two different situations for Author Credits display component: one is on the edit page when adding a new AC and the other is on the entity display pages displaying an existing AC.

Depending on which case we are looking at, the author used to construct the AC will not have the same shape, and the author BBID in particular will not be in the same place.

This results currently on broken AC links (href = /author/undefined) on the entity display pages (but working for edit pages).

Make it work for both the edit page when adding a new author credit as well as on the entity display pages.
@MonkeyDo MonkeyDo merged commit f89a85c into master Aug 5, 2022
@MonkeyDo MonkeyDo deleted the fix-ac-link branch August 5, 2022 14:46
MonkeyDo added a commit that referenced this pull request Aug 23, 2022
Made a rookie mistake in #868
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants