Updated edit permissions on settings components.

This commit is contained in:
Mike Cao committed 2025-09-19 17:58:52 -07:00
1 parent ffc8f6faae
commit 7effa16f00
15 files changed
+128 -148

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ export function SettingsLayout({ children }: { children: ReactNode }) {
const selectedKey = items
.flatMap(e => e.items)
.find(({ path }) => path && pathname.endsWith(path.split('?')[0]))?.id;
.find(({ path }) => path && pathname.includes(path.split('?')[0]))?.id;
return (
<Grid columns="auto 1fr" width="100%" height="100%">