From 0298fb00aa44542e9e4528dd657dfeb1f189564c Mon Sep 17 00:00:00 2001 From: lostb1t Date: Thu, 4 Sep 2025 17:31:56 +0200 Subject: [PATCH] fix: section titles (#1036) fixes a bug where the section titles were just "section-[index]" --- components/settings/HomeIndex.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/settings/HomeIndex.tsx b/components/settings/HomeIndex.tsx index 75215461..57aac02c 100644 --- a/components/settings/HomeIndex.tsx +++ b/components/settings/HomeIndex.tsx @@ -308,7 +308,7 @@ export const HomeIndex = () => { if (!api || !user?.Id || !settings?.home?.sections) return []; const ss: Section[] = []; for (const [index, section] of settings.home.sections.entries()) { - const id = section.items?.title || `section-${index}`; + const id = section.title || `section-${index}`; ss.push({ title: t(`${id}`), queryKey: ["home", id],