Refresh page after a payment transaction is suspended/deleted

This commit is contained in:
Dillon Ngo
2024-02-29 17:19:17 +08:00
parent 03c5ced77b
commit a442c78156
@@ -27,6 +27,15 @@
import componentHandler from '../../../general/mixins/componentHandler';
import ModalFormHandler from '../../../general/mixins/modalFormHandler';
export default {
methods:{
successHandler(response){
this.closeModal();
this.formHandler();
if(response.payload.data.id){
window.location.reload();
}
},
},
mixins: [componentHandler, ModalFormHandler]
}