-
Notifications
You must be signed in to change notification settings - Fork 0
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
SCC-0898 - Search Results View All Link #56
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One update similar to PR #55
{bib.numPhysicalItems > ITEMS_PER_SEARCH_RESULT && ( | ||
<CardActions> | ||
<RCLink href={`${bib.url}#items-table`}> | ||
<Text |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to the other PR, don't render p
elements inside a
elements. This Link
can also be of type "standalone" which you may need to propagate down from the RCLink
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, just made both links of the "standalone" type.
Ticket: https://jira.nypl.org/browse/SCC-3898
This PR renders a View All x Items link that leads to the Bib page when the number of physical items exceeds 3.
Notes: