From aa2ded6973d755b328d9a7cd93e13a0a4ec2dae2 Mon Sep 17 00:00:00 2001 From: Frikky Date: Fri, 28 Feb 2025 14:00:59 +0100 Subject: [PATCH] Fixed the cache view slightly --- frontend/src/components/CacheView.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/CacheView.jsx b/frontend/src/components/CacheView.jsx index 5ff867d6..34b4608f 100644 --- a/frontend/src/components/CacheView.jsx +++ b/frontend/src/components/CacheView.jsx @@ -126,7 +126,7 @@ const CacheView = memo((props) => { const listOrgCache = (orgId, category) => { - const url = `${globalUrl}/api/v1/orgs/${orgId}/list_cache${category !== undefined ? `?category=${category.replaceAll(" ", "_")}` : ""}` + const url = `${globalUrl}/api/v1/orgs/${orgId}/list_cache${category !== undefined ? `?category=${category.replaceAll(" ", "%20")}` : ""}` fetch(url, { method: "GET", headers: {