Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

feat: change collapsible list visible count for search content data (#805)

gbirmana5dfd7a2f49c
diff --git a/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx b/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx
index 9b5db4132b..144603ef75 100644
--- a/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx
+++ b/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx
@@ -1073,7 +1073,11 @@ export function EntityWithEverything(
{/* Content Hits from Search */}
<Show when={contentHitData().length > 0}>
<div class="relative row-2 col-2 col-end-4 pb-2 @max-md/split:row-auto @max-md/split:col-auto @max-md/split:w-full @max-md/split:mt-1">
- <CollapsibleList items={contentHitData()} threadBorder>
+ <CollapsibleList
+ items={contentHitData()}
+ threadBorder
+ visibleCount={1}
+ >
{(data, index, count) => (
<ContentHitRow
allData={contentHitData()}