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

#1200 handle objects in context #1201

Merged
merged 3 commits into from Aug 9, 2019
Merged

#1200 handle objects in context #1201

merged 3 commits into from Aug 9, 2019

Conversation

hudajkhan
Copy link
Contributor

Updating context rendering component to handle objects that come back as values in context.
For example, broader concepts in genre form lookup come back as
values": [
{
"uri": "http://id.loc.gov/authorities/genreForms/gf2011026049",
"id": "gf2011026049",
"label": "Animated films"
}
]

The code now looks for "label" in the value object and displays that. If there is no label but there is a uri, it will display that instead, and if neither, then it will display a stringified version of the json object

@hudajkhan
Copy link
Contributor Author

Attached pictures in the issue #1200 should show a before and after view.

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.

None yet

2 participants