-
Notifications
You must be signed in to change notification settings - Fork 0
DR-3764 Display multiple languages #423
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
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 small comment, otherwise looks good!
@@ -22,7 +22,7 @@ export function normalizeItemMetadataFromManifest( | |||
physicalDescription: joinWithBr(raw["Physical Description"]), | |||
typeOfResource: joinWithBr(raw["Resource Type"]), | |||
abstract: raw["Abstract"]?.[0] || "", | |||
languages: raw["Languages"]?.[0] || "", | |||
languages: joinWithBr(raw["Languages"]) || "", |
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.
Looks like joinWithBr
always returns a string, so don't need to keep the || ""
bit!
…collections into DR-3764/multiple-languages
Ticket:
This PR does the following:
Open questions
How has this been tested? How should a reviewer test this?
Tested locally with http://localhost:3000/items/e06d3e10-c553-012f-193f-58d385a7bc34?canvasIndex=0
Accessibility concerns or updates
Checklist: