fix js menus and handle api menus

This commit is contained in:
arifal hidayat
2025-02-23 06:42:13 +07:00
parent ffd9d3514c
commit d49035ce8d
10 changed files with 278 additions and 212 deletions

View File

@@ -12,7 +12,7 @@ class Customers {
this.table = null;
// Initialize functions
this.initTableSpatialPlannings();
this.initTableCustomers();
this.initEvents();
}
initEvents() {
@@ -25,7 +25,7 @@ class Customers {
});
}
initTableSpatialPlannings() {
initTableCustomers() {
let tableContainer = document.getElementById("table-customers");
// Create a new Grid.js instance only if it doesn't exist
this.table = new Grid({