Skip to content

Commit eaa2adb

Browse files
authored
fix: hide data queried dropdown when empty (#1604)
Co-authored-by: reverb256 <reverb256@users.noreply.github.com>
1 parent d29ceaa commit eaa2adb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/code/src/renderer/features/inbox/components/detail/SignalCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ function CodePathsCollapsible({ paths }: { paths: string[] }) {
570570
function DataQueriedCollapsible({ text }: { text: string }) {
571571
const [expanded, setExpanded] = useState(false);
572572

573-
if (!text) return null;
573+
if (!text.trim()) return null;
574574

575575
return (
576576
<Box mt="2" style={{ borderTop: "1px solid var(--gray-5)" }} pt="2">

0 commit comments

Comments
 (0)