fix(pembanding): handle kordinat di data pembanding dan tampilan actifity team

This commit is contained in:
majid
2025-03-20 10:22:35 +07:00
parent bfc9b989ef
commit 155fe5f011
4 changed files with 39 additions and 14 deletions

View File

@@ -721,10 +721,11 @@
},
error: function(xhr, status, error) {
hideLoadingSwal();
console.error('Error:', error);
const response = JSON.parse(xhr.responseText);
console.error('Error:', response.message);
Swal.fire({
title: 'Error!',
text: 'Terjadi kesalahan pada server',
text: response.message || 'Terjadi kesalahan',
icon: 'error',
confirmButtonText: 'OK'
});