mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-04 12:50:58 -06:00
- Updated the removeCondition function to return a boolean indicating success or failure. - Implemented cleanup logic to remove empty condition groups after a condition is removed. - Added tests to ensure correct behavior of removeCondition, including scenarios with nested groups and empty groups. - Enhanced ConditionsEditor to disable the 'Create Group' button when only one condition exists, and ensure it is enabled when multiple conditions are present.