sentry
sentry copied to clipboard
fix(aci): assign condition subfilter ids on alert edit
We strip subfilter ids before we make the workflow POST request because these additional filters do not have ids in the backend.
However, this causes bugs when users go to edit existing workflows that contain subfilters. Since all of the subfilters don't have an ID, our logic will delete all subfilters when a user tried to delete just one (since our logic checks that the ID to delete matches the ID of the subfilter, and all ids are null).
To fix this, we should add ids to the subfilters when we first load the edit page.