diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index 3b77bbdb7d..435ca32042 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -117,6 +117,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction setShowAnnouncementModal(true)} className="absolute top-2 right-3 z-10" + showNotification={shouldShowAnnouncement} /> diff --git a/webview-ui/src/components/common/VersionIndicator.tsx b/webview-ui/src/components/common/VersionIndicator.tsx index 1776a2d39a..a91f3ec4c4 100644 --- a/webview-ui/src/components/common/VersionIndicator.tsx +++ b/webview-ui/src/components/common/VersionIndicator.tsx @@ -5,17 +5,24 @@ import { Package } from "@roo/package" interface VersionIndicatorProps { onClick: () => void className?: string + showNotification?: boolean } -const VersionIndicator: React.FC = ({ onClick, className = "" }) => { +const VersionIndicator: React.FC = ({ onClick, className = "", showNotification = false }) => { const { t } = useTranslation() return ( ) }