FIX_THE_RELOAD_ISSUE
This commit is contained in:
parent
1172472236
commit
cb0cc20448
@ -1428,10 +1428,18 @@
|
||||
toastr.error(response.message || 'Unable to fetch data', 'Error');
|
||||
}
|
||||
|
||||
setTimeout(function() {
|
||||
window.location.reload();
|
||||
}, 500);
|
||||
|
||||
}, function(xhr, status, error) {
|
||||
console.error('Error fetching data:', error);
|
||||
console.error(xhr.responseText);
|
||||
toastr.error('An error occurred while pushing.', 'Error');
|
||||
|
||||
setTimeout(function() {
|
||||
window.location.reload();
|
||||
}, 500);
|
||||
});
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user