Skip to content

Prevent pushing null when creating a new label

Natalia Tepluhina requested to merge ntepluhina-fix-pushing-null-label into master

What does this MR do and why?

Currently, when creating a label with an already existing name, we're trying to push null to the labels array when updating the cache after mutation. This triggers immer-related error in the console This MR adds a check on label before proceeding with updating the cache

Screenshots or screen recordings

Screenshot_2022-01-25_at_13.06.06

Merge request reports

Loading