-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Currently there are many places that are competing to keep selected termId in sync. The ways selected term should operate are:
- On initial page load, select the "current" term (this comes from the backend)
- When deleting a term, select another term in the list if there is one to become the selected term (first in list is easiest)
- When creating a term, after it has been created, select it
This current logic is in
src/components/classes/list/components/term-select.tsxsrc/components/classes/list/class-list-view.tsxsrc/components/classes/list/classes-empty-view.tsx
but the current behavior is not as expected, on page load it doesn't select the current term but the first term in the list.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels