diff --git a/webview-ui/src/components/history/HistoryPreview.tsx b/webview-ui/src/components/history/HistoryPreview.tsx index 892a8a220f..cb596984a7 100644 --- a/webview-ui/src/components/history/HistoryPreview.tsx +++ b/webview-ui/src/components/history/HistoryPreview.tsx @@ -1,11 +1,16 @@ import { memo } from "react" +import { vscode } from "@/utils/vscode" import { useTaskSearch } from "./useTaskSearch" import TaskItem from "./TaskItem" const HistoryPreview = () => { const { tasks } = useTaskSearch() + const handleViewAllHistory = () => { + vscode.postMessage({ type: "switchTab", tab: "history" }) + } + return (