Skip to content

Commit

Permalink
Add rule button click - show alert (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragchhatrala authored Sep 3, 2024
1 parent 01c0f5b commit d55379e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
}
},
},
Expand Down

0 comments on commit d55379e

Please sign in to comment.