diff --git a/packages/desktop-client/src/components/HelpMenu.tsx b/packages/desktop-client/src/components/HelpMenu.tsx
index 73aed99ef4c..5d69fe0b8d3 100644
--- a/packages/desktop-client/src/components/HelpMenu.tsx
+++ b/packages/desktop-client/src/components/HelpMenu.tsx
@@ -8,6 +8,7 @@ import { useToggle } from 'usehooks-ts';
import { pushModal } from 'loot-core/client/actions/modals';
+import { useFeatureFlag } from '../hooks/useFeatureFlag';
import { SvgHelp } from '../icons/v2/Help';
import { openUrl } from '../util/router-tools';
@@ -16,7 +17,7 @@ import { Menu } from './common/Menu';
import { Popover } from './common/Popover';
import { SpaceBetween } from './common/SpaceBetween';
-type HelpMenuItem = 'docs' | 'keyboard-shortcuts';
+type HelpMenuItem = 'docs' | 'keyboard-shortcuts' | 'goal-templates';
type HelpButtonProps = {
onPress?: () => void;
@@ -66,6 +67,7 @@ const getPageDocs = (page: string) => {
};
export const HelpMenu = () => {
+ const showGoalTemplates = useFeatureFlag('goalTemplatesEnabled');
const { t } = useTranslation();
const [isMenuOpen, toggleMenuOpen, setMenuOpen] = useToggle();
const menuButtonRef = useRef(null);
@@ -81,6 +83,9 @@ export const HelpMenu = () => {
case 'keyboard-shortcuts':
dispatch(pushModal('keyboard-shortcuts'));
break;
+ case 'goal-templates':
+ dispatch(pushModal('goal-templates'));
+ break;
}
};
@@ -98,7 +103,7 @@ export const HelpMenu = () => {
onOpenChange={() => setMenuOpen(false)}
>