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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

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