diff --git a/apps/web/src/apps/modules/layouts/components/bookmark/index.tsx b/apps/web/src/apps/modules/layouts/components/bookmark/index.tsx index 928b44e..182da14 100644 --- a/apps/web/src/apps/modules/layouts/components/bookmark/index.tsx +++ b/apps/web/src/apps/modules/layouts/components/bookmark/index.tsx @@ -68,8 +68,8 @@ export function BookmarkDrawer() { size="sm" title={ - - + + {t('bookmark:title')} diff --git a/apps/web/src/apps/modules/layouts/components/history/index.tsx b/apps/web/src/apps/modules/layouts/components/history/index.tsx index 43e1f02..1101b01 100644 --- a/apps/web/src/apps/modules/layouts/components/history/index.tsx +++ b/apps/web/src/apps/modules/layouts/components/history/index.tsx @@ -110,8 +110,8 @@ export function HistoryDrawer() { size="sm" title={ - - + + {t('history:title')} diff --git a/apps/web/src/apps/modules/layouts/components/sidebar.tsx b/apps/web/src/apps/modules/layouts/components/sidebar.tsx index 03d42cd..00693b0 100644 --- a/apps/web/src/apps/modules/layouts/components/sidebar.tsx +++ b/apps/web/src/apps/modules/layouts/components/sidebar.tsx @@ -25,7 +25,7 @@ interface SidebarMenuProps { /** Whether to show the collapse/expand toggle button (desktop only) */ withToggle?: boolean; /** Whether to show the sticky menu filter input (default: true) */ - withMenuFilter?: boolean; + showMenuFilter?: boolean; /** Whether to show the History button (default: true) */ showHistory?: boolean; /** Whether to show the Bookmark button (default: true) */ @@ -226,7 +226,7 @@ export const SidebarMenu = memo(function SidebarMenu({ items, variantOverride, withToggle = false, - withMenuFilter = true, + showMenuFilter = true, showHistory = true, showBookmark = true, }: SidebarMenuProps) { @@ -381,7 +381,7 @@ export const SidebarMenu = memo(function SidebarMenu({ // -- Mini (Collapsed) Mode ------------------------------------------------ if (isMini) { - const hasTopSection = withMenuFilter || showHistory || showBookmark; + const hasTopSection = showMenuFilter || showHistory || showBookmark; return ( @@ -401,7 +401,7 @@ export const SidebarMenu = memo(function SidebarMenu({ gap: '8px', }} > - {withMenuFilter && ( + {showMenuFilter && ( @@ -488,7 +488,7 @@ export const SidebarMenu = memo(function SidebarMenu({ gap: '12px', }} > - {withMenuFilter && ( + {showMenuFilter && (