Browse Source

Fix inspecting loader

Saoud Rizwan 1 year ago
parent
commit
4ea6d17997
1 changed files with 2 additions and 1 deletions
  1. 2 1
      webview-ui/src/components/chat/ChatRow.tsx

+ 2 - 1
webview-ui/src/components/chat/ChatRow.tsx

@@ -381,7 +381,8 @@ const ChatRowContent = ({ message, isExpanded, onToggleExpand, lastModifiedMessa
 					</>
 				)
 			case "inspectSite":
-				const isInspecting = lastModifiedMessage?.say === "inspect_site_result" && !lastModifiedMessage?.images
+				const isInspecting =
+					isLast && lastModifiedMessage?.say === "inspect_site_result" && !lastModifiedMessage?.images
 				return (
 					<>
 						<div style={headerStyle}>