From 7fb7ac3bfb2c520049b6c8726d6f3382f6c88608 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 23 Jan 2025 10:30:15 +0100 Subject: [PATCH] Update page.tsx --- frontend/src/app/category-view/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/category-view/page.tsx b/frontend/src/app/category-view/page.tsx index 159902a4..70121086 100644 --- a/frontend/src/app/category-view/page.tsx +++ b/frontend/src/app/category-view/page.tsx @@ -51,7 +51,7 @@ const CategoryView = () => { ).then((results) => results.filter((script) => script !== null)); // Kategorien und Skripte verknüpfen - categories.forEach((category) => { + categories.forEach((category: Category) => { category.scripts = scripts.filter((script: Script) => script.categories.includes(category.id) );