diff --git a/webview-ui/src/components/history/HistoryPreview.tsx b/webview-ui/src/components/history/HistoryPreview.tsx index e7e998cd6c..0bc4fb69a5 100644 --- a/webview-ui/src/components/history/HistoryPreview.tsx +++ b/webview-ui/src/components/history/HistoryPreview.tsx @@ -2,7 +2,7 @@ import { memo } from "react" import { vscode } from "@/utils/vscode" import { formatLargeNumber, formatDate } from "@/utils/format" -import { Button } from "@/components/ui" +import { Button, Checkbox } from "@/components/ui" import { useAppTranslation } from "../../i18n/TranslationContext" import { CopyButton } from "./CopyButton" @@ -12,7 +12,7 @@ type HistoryPreviewProps = { showHistoryView: () => void } const HistoryPreview = ({ showHistoryView }: HistoryPreviewProps) => { - const { tasks } = useTaskSearch() + const { tasks, showAllWorkspaces, setShowAllWorkspaces } = useTaskSearch() const { t } = useAppTranslation() return ( @@ -26,6 +26,17 @@ const HistoryPreview = ({ showHistoryView }: HistoryPreviewProps) => { {t("history:viewAll")} +