Can't save after deleting condition on "Segment Overrides" screen and OR
button disappears
#3244
Closed
2 of 4 tasks
OR
button disappears
#3244
Describe the bug
When a new condition is added to the segment override and immediately deleted without being modified, it doesn't allow
To Reproduce
Steps to reproduce the behavior:
Segment Overrides
, create a new override.OR
and delete theOR
ed condition immediately without modifying it.Expected behavior
OR
button should appear on the first condition and the flag should be saved.Screenshots
OR button disappearing:
Screen.Recording.2024-01-05.at.09.25.09.mov
Rule failing to update:
Screen.Recording.2024-01-05.at.09.02.46.mov
How are you running Flagsmith?
Additional context
Captured from network tab, seems like those conditions are still included in the request
Note this wasn't the case when I typed the condition atribute, value and proceeded to delete it. It did not appear in the payload.
The text was updated successfully, but these errors were encountered: