Add rule button click - show alert (#554)

This commit is contained in:
Chirag Chhatrala
2024-09-03 16:58:59 +05:30
committed by GitHub
parent 01c0f5b6ce
commit d55379e346

View File

@@ -48,6 +48,8 @@ export default {
this.groupCtrl.addRule(this.selectedRule) this.groupCtrl.addRule(this.selectedRule)
this.$refs.ruleSelect.content = null this.$refs.ruleSelect.content = null
this.selectedRule = null this.selectedRule = null
} else {
useAlert().error('Please select a field to add condition on.')
} }
}, },
}, },