[Target identification] Popup 'Saved identifications' doesn't open if at least one gene used in any identification has been removed.
maryvictol opened this issue · 1 comments
maryvictol commented
[Target identification] Popup 'Saved identifications' doesn't open if at least one gene used in one of the identifications has been removed.
To Reproduce
- Go to the Targets page
- Launch identification for any target with at least 3 gens
- Save identification
- Go back to the Targets page
- Open the details page for the target from step 2 to update
- Delete any gene used in identification at step 2 and click Save button
- Go back to the Targets page
- Try to open the saved identification
Actual result
- Popup Saved identifications doesn't open until the removed gene is added again.
- Console error
Cannot read properties of undefined (reading 'push')
.
Expected result:
- Saved identification using the deleted gene should be removed simultaneously with it.
- Maybe it would be useful to show a warning message at removing gene if it is used in identification.
maryvictol commented
Verified as fixed