From 40c8a8d38abf1126b13cb75e99e5ea2054890b2d Mon Sep 17 00:00:00 2001 From: Denozordec Date: Wed, 8 Apr 2026 15:42:50 +0700 Subject: [PATCH] feat: implement countAll function for API data retrieval Added a new `countAll` function to streamline the retrieval of item counts from various API endpoints. This function replaces individual API calls with a unified approach, enhancing performance and code clarity. Updated the onMount lifecycle method to utilize this new function for fetching counts of modules, revisions, peers, and speakers, improving data handling efficiency. --- web/src/routes/+page.svelte | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/web/src/routes/+page.svelte b/web/src/routes/+page.svelte index eddd7c5..f40ed23 100644 --- a/web/src/routes/+page.svelte +++ b/web/src/routes/+page.svelte @@ -1,6 +1,6 @@