We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf3c7eb commit b465230Copy full SHA for b465230
src/components/modules/shared/SummarySwitcher.tsx
@@ -20,7 +20,7 @@ export const SummarySwitcher: FC<
20
const cid = getCidForBaseModel(data)
21
22
const finalSummary = 'summary' in data ? data.summary : summary
23
- if (typeof finalSummary != 'undefined')
+ if (typeof finalSummary != 'undefined' && finalSummary.trim().length)
24
return <ManualSummary className="my-4" summary={finalSummary} />
25
26
if (!enabled) return null
0 commit comments