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 Berkeley schema element usage in frontend code #1375

Merged

Conversation

pkalita-lbl
Copy link
Collaborator

Just two quick fixes for places where the frontend code was tripping over some Berkeley schema changes:

  • web/src/components/FacetedSearch.vue: The gold_path_field slot does not have the referenced annotation in the Berkeley schema. The change to add the annotation was merged into nmdc-schema on July 17 and the last time berkeley-schema-fy24 was synced with nmdc-schema it included changes through July 16. So the annotation should come back eventually. In the meantime this prevents a render-time error.
  • web/src/views/SubmissionPortal/Components/SubmissionContextForm.vue: We just needed to refer to the enum's new name.

@pkalita-lbl pkalita-lbl merged commit ada2d2e into berkeley-schema-migration Aug 30, 2024
2 checks passed
@pkalita-lbl pkalita-lbl deleted the fix-berkeley-schema-element-names branch August 30, 2024 15:24
@naglepuff naglepuff mentioned this pull request Sep 5, 2024
8 tasks
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