Add rule button click - show alert (#554)
This commit is contained in:
parent
01c0f5b6ce
commit
d55379e346
|
|
@ -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.')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue