Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clickDelete() {
- this.$dialog.confirm({
- title: `Delete ${this.localDiscount.code}?`,
- message: `Are you sure you want to delete the discount`,
- confirmText: 'Delete discount',
- onConfirm: this.deleteDiscount,
- type: 'danger',
- })
- },
- async deleteDiscount() {
- // Delete discount
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement