epam/NGB

[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

[Target identification] Popup 'Saved identifications' doesn't open if at least one gene used in one of the identifications has been removed.

To Reproduce

  1. Go to the Targets page
  2. Launch identification for any target with at least 3 gens
  3. Save identification
  4. Go back to the Targets page
  5. Open the details page for the target from step 2 to update
  6. Delete any gene used in identification at step 2 and click Save button
  7. Go back to the Targets page
  8. 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.

Verified as fixed