Merge branch 'akaunting:master' into invoice-form-enhancements
This commit is contained in:
4
resources/assets/js/plugins/bulk-action.js
vendored
4
resources/assets/js/plugins/bulk-action.js
vendored
@ -152,8 +152,10 @@ export default class BulkAction {
|
||||
}));
|
||||
|
||||
type_promise.then(response => {
|
||||
if (response.data.redirect) {
|
||||
if (response.data.redirect === true) {
|
||||
window.location.reload(false);
|
||||
} else if (typeof response.data.redirect === 'string') {
|
||||
window.location.href = response.data.redirect;
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
|
Reference in New Issue
Block a user