mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
fix permission success issue
This commit is contained in:
@ -57,17 +57,21 @@ export default {
|
|||||||
this.errors = response.data.permissions.errors
|
this.errors = response.data.permissions.errors
|
||||||
let self = this
|
let self = this
|
||||||
|
|
||||||
swal({
|
if (this.errors) {
|
||||||
title: this.$t('wizard.permissions.permission_confirm_title'),
|
swal({
|
||||||
text: this.$t('wizard.permissions.permission_confirm_desc'),
|
title: this.$t('wizard.permissions.permission_confirm_title'),
|
||||||
icon: 'warning',
|
text: this.$t('wizard.permissions.permission_confirm_desc'),
|
||||||
buttons: true,
|
icon: 'warning',
|
||||||
dangerMode: true
|
buttons: true,
|
||||||
}).then(async (willConfirm) => {
|
dangerMode: true
|
||||||
if (willConfirm) {
|
}).then(async (willConfirm) => {
|
||||||
self.isContinue = true
|
if (willConfirm) {
|
||||||
}
|
self.isContinue = true
|
||||||
})
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.isContinue = true
|
||||||
|
}
|
||||||
|
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user