diff --git a/apps/client/src/features/app-settings/useAppSettingsMenu.tsx b/apps/client/src/features/app-settings/useAppSettingsMenu.tsx index 7a19e3eaa..a3527008a 100644 --- a/apps/client/src/features/app-settings/useAppSettingsMenu.tsx +++ b/apps/client/src/features/app-settings/useAppSettingsMenu.tsx @@ -90,7 +90,10 @@ const staticOptions = [ }, ] as const; -export type SettingsOptionId = (typeof staticOptions)[number]['id']; +// a child of navigation or a child of secondary navigation +export type SettingsOptionId = + | (typeof staticOptions)[number]['id'] + | Extract<(typeof staticOptions)[number], { secondary: object }>['secondary'][number]['id']; export function useAppSettingsMenu() { const { data } = useAppVersion(); diff --git a/apps/client/src/features/rundown/rundown-header/RundownMenu.tsx b/apps/client/src/features/rundown/rundown-header/RundownMenu.tsx index e1db819fb..f48bd1c43 100644 --- a/apps/client/src/features/rundown/rundown-header/RundownMenu.tsx +++ b/apps/client/src/features/rundown/rundown-header/RundownMenu.tsx @@ -41,7 +41,7 @@ function RundownMenu({ allowNavigation }: RundownMenuProps) { type: 'item', label: 'Manage Rundowns...', icon: IoList, - onClick: () => setLocation('manage'), + onClick: () => setLocation('manage__rundowns'), disabled: !allowNavigation, }, { type: 'divider' },