From fc0d96e7520dabcccf8aa9866313550a66f09f5a Mon Sep 17 00:00:00 2001 From: Urban Hafner Date: Sun, 5 Jan 2025 21:29:55 +0100 Subject: [PATCH] Fewer clusters per request to make the requests faster --- app/javascript/src/admin/micro-clusters/macroClusters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/src/admin/micro-clusters/macroClusters.js b/app/javascript/src/admin/micro-clusters/macroClusters.js index d4b668de3..57b0bd32e 100644 --- a/app/javascript/src/admin/micro-clusters/macroClusters.js +++ b/app/javascript/src/admin/micro-clusters/macroClusters.js @@ -67,7 +67,7 @@ export const updateMacroCluster = (id, dispatch) => { }; const loadMacroClusterPage = async (page, count = 0) => { - const url = `/admins/macro_clusters.json?per_page=25&page=${page}`; + const url = `/admins/macro_clusters.json?per_page=20&page=${page}`; try { const response = await getRequest(url); return await response.json();