code monitors: action cancel button doesn't undo changes
Created by: limitedmage
Fixes #32222 (closed)
- "Cancel" button now undoes changes to actions, restoring the enable/disable state and, for webhooks, the URL.
- #32097 will be updated to also do the same thing for
includeResults
- #32097 will be updated to also do the same thing for
- Enable/disable no longer saved immediately when action is expanded; the action must be saved for the enable/disable toggle state to be saved. Enable/disable toggle still saves immediately if the action is collapsed.
Test plan
- Unit tests have been updated for all three actions to test the cancel button.