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: add profile pic to search in filter (#2459)

gbirman0b98b6b9ab86
diff --git a/js/app/packages/app/component/next-soup/soup-view/filters-bar/search-filter-controls.tsx b/js/app/packages/app/component/next-soup/soup-view/filters-bar/search-filter-controls.tsx
index edae1c9afd..48854d8430 100644
--- a/js/app/packages/app/component/next-soup/soup-view/filters-bar/search-filter-controls.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/filters-bar/search-filter-controls.tsx
@@ -1,5 +1,6 @@
import XIcon from '@icon/regular/x.svg';
import { EntityIcon } from '@core/component/EntityIcon';
+import { EntityIcon as EntityIconWithAvatar } from '@entity/extractors/entity-icon';
import { UserIcon } from '@core/component/UserIcon';
import { useQuickAccess } from '@core/context/quickAccess';
import { useUserId } from '@core/context/user';
@@ -139,7 +140,9 @@ const InChannelFilter = () => {
value: ch.id,
label: ch.data.name,
icon: () => (
- <EntityIcon targetType={ch.data.channelType || 'channel'} size="xs" />
+ <div class="size-4">
+ <EntityIconWithAvatar entity={ch.data} />
+ </div>
),
}))
);