MCPcopy Create free account
hub / github.com/Muhammadsiddiq-code/Admin-dashboard / loadPageData

Function loadPageData

app.js:371–389  ·  view source on GitHub ↗
(page)

Source from the content-addressed store, hash-verified

369}
370
371function loadPageData(page) {
372 switch (page) {
373 case "dashboard":
374 loadDashboardData()
375 break
376 case "students":
377 loadStudentsData()
378 break
379 case "teachers":
380 loadTeachersData()
381 break
382 case "news":
383 loadNewsData()
384 break
385 case "schedule":
386 loadScheduleData()
387 break
388 }
389}
390
391function loadDashboardData() {
392 // Update statistics

Callers 1

handleNavigationFunction · 0.85

Calls 5

loadDashboardDataFunction · 0.85
loadStudentsDataFunction · 0.85
loadTeachersDataFunction · 0.85
loadNewsDataFunction · 0.85
loadScheduleDataFunction · 0.85

Tested by

no test coverage detected