AllenNeuralDynamics / aind-metadata-entry-js

Metadata entry using javascript
https://metadata-entry.allenneuraldynamics.org
MIT License
1 stars 1 forks source link

`mri_session` schema gets rendered instead of `session` schema at times #132

Closed helen-m-lin closed 6 months ago

helen-m-lin commented 6 months ago

Describe the bug When you switch back and forth between session and mri_session schemas, sometimes mri_session gets rendered instead of session.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://metadata-entry.allenneuraldynamics.org/
  2. Click on 'Select schema' and choose session
  3. Observe latest session schema is rendered correctly
  4. Now click on the select schema dropdown again but choose mri_session
  5. Observe latest mri_session schema is rendered correctly
  6. Switch back to session schema, but select an older version (0.1.1)
  7. Observe that mri_session 0.1.10 is loaded incorrectly.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.