|
@@ -781,11 +781,10 @@
|
|
|
@this.edit(id);
|
|
@this.edit(id);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- function deleteData(id)
|
|
|
|
|
- {
|
|
|
|
|
|
|
+ function deleteData(id) {
|
|
|
if (confirm('Sei sicuro?'))
|
|
if (confirm('Sei sicuro?'))
|
|
|
- @this.delete(id).then(() => {
|
|
|
|
|
- loadDataTable();
|
|
|
|
|
|
|
+ @this.delete(id).then(() => {
|
|
|
|
|
+ window.location.reload();
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -1056,8 +1055,6 @@
|
|
|
if (importModal) {
|
|
if (importModal) {
|
|
|
importModal.hide();
|
|
importModal.hide();
|
|
|
}
|
|
}
|
|
|
- Livewire.first().call('closeImportModal');
|
|
|
|
|
-
|
|
|
|
|
setTimeout(function() {
|
|
setTimeout(function() {
|
|
|
window.location.reload();
|
|
window.location.reload();
|
|
|
}, 100);
|
|
}, 100);
|