diff --git a/apps/desktop/src/components/editor-area/note-header/tab-header.tsx b/apps/desktop/src/components/editor-area/note-header/tab-header.tsx index 68b8d1cf72..31fd5cdfc1 100644 --- a/apps/desktop/src/components/editor-area/note-header/tab-header.tsx +++ b/apps/desktop/src/components/editor-area/note-header/tab-header.tsx @@ -126,7 +126,12 @@ export const TabHeader = forwardRef( )} > Transcript - {isCurrentlyRecording &&
} + {isCurrentlyRecording && ( +
+
+
+
+ )}
diff --git a/apps/desktop/src/components/editor-area/transcript-viewer.tsx b/apps/desktop/src/components/editor-area/transcript-viewer.tsx index c7f5888a1f..066d813807 100644 --- a/apps/desktop/src/components/editor-area/transcript-viewer.tsx +++ b/apps/desktop/src/components/editor-area/transcript-viewer.tsx @@ -177,12 +177,17 @@ const MemoizedSpeakerSelector = memo(({ const { userId } = useHypr(); const [isOpen, setIsOpen] = useState(false); const [speakerRange, setSpeakerRange] = useState("current"); - const inactive = useOngoingSession(s => s.status === "inactive"); const [human, setHuman] = useState(null); const noteMatch = useMatch({ from: "/app/note/$id", shouldThrow: false }); const sessionId = noteMatch?.params.id; + // Check if THIS SPECIFIC session is inactive, not global status + const ongoingSessionId = useOngoingSession(s => s.sessionId); + const ongoingStatus = useOngoingSession(s => s.status); + const isThisSessionActive = ongoingStatus === "running_active" && ongoingSessionId === sessionId; + const inactive = !isThisSessionActive; + const { data: participants = [] } = useQuery({ enabled: !!sessionId, queryKey: ["participants", sessionId!, "selector"],