Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
fix(cowork): restore MessageItem version-switch and hideActions props
Akarshan Biswasc53ebf060837
diff --git a/web-app/src/containers/MessageItem.tsx b/web-app/src/containers/MessageItem.tsxindex 0070f73d5..a341c853f 100644--- a/web-app/src/containers/MessageItem.tsx+++ b/web-app/src/containers/MessageItem.tsx@@ -64,6 +64,9 @@ export type MessageItemProps = {versionInfo?: { index: number; count: number }onSwitchVersion?: (messageId: string, dir: -1 | 1) => voidisAnimating?: boolean+ /** Suppress the per-message action buttons (regenerate/continue/edit/...),+ * e.g. while a continue is pending and re-running would be ambiguous. */+ hideActions?: booleanhighlightedPrefix?: string | null}@@ -85,6 +88,7 @@ export const MessageItem = memo(onDelete,onRetry,versionInfo,+ onSwitchVersion,highlightedPrefix,}: MessageItemProps) => {const { t } = useTranslation()