Change Database

This commit is contained in:
Randa Firman Putra
2025-06-20 00:45:19 +07:00
parent e028039ee2
commit 2f7ab6c0a9
45 changed files with 1896 additions and 953 deletions

View File

@@ -153,7 +153,7 @@ export default function JenisPendaftaranPerAngkatanChart({ tahunAngkatan }: Prop
if (!Array.isArray(result)) {
throw new Error('Invalid data format received from server');
}
// Process data for pie chart
const jenisPendaftaran = [...new Set(result.map(item => item.jenis_pendaftaran))].sort();
const jumlahData = jenisPendaftaran.map(jenis => {