|
|
|
@ -120,30 +120,30 @@ export const TextPanel: React.FC<TextPanelProps> = React.memo(
|
|
|
|
|
]}
|
|
|
|
|
suffixActions={({ setRightPanel }) => [
|
|
|
|
|
<IconBtn
|
|
|
|
|
key="members"
|
|
|
|
|
title={t('成员列表')}
|
|
|
|
|
key="search"
|
|
|
|
|
title={t('聊天记录搜索')}
|
|
|
|
|
shape="square"
|
|
|
|
|
icon="mdi:account-supervisor-outline"
|
|
|
|
|
icon="mdi:text-search"
|
|
|
|
|
iconClassName="text-2xl"
|
|
|
|
|
onClick={() =>
|
|
|
|
|
setRightPanel({
|
|
|
|
|
name: t('成员') + ` (${groupMembers.length})`,
|
|
|
|
|
panel: <MembersPanel groupId={groupId} />,
|
|
|
|
|
name: t('聊天记录'),
|
|
|
|
|
panel: (
|
|
|
|
|
<MessageSearchPanel groupId={groupId} converseId={panelId} />
|
|
|
|
|
),
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/>,
|
|
|
|
|
<IconBtn
|
|
|
|
|
key="search"
|
|
|
|
|
title={t('聊天记录搜索')}
|
|
|
|
|
key="members"
|
|
|
|
|
title={t('成员列表')}
|
|
|
|
|
shape="square"
|
|
|
|
|
icon="mdi:text-search"
|
|
|
|
|
icon="mdi:account-supervisor-outline"
|
|
|
|
|
iconClassName="text-2xl"
|
|
|
|
|
onClick={() =>
|
|
|
|
|
setRightPanel({
|
|
|
|
|
name: t('聊天记录'),
|
|
|
|
|
panel: (
|
|
|
|
|
<MessageSearchPanel groupId={groupId} converseId={panelId} />
|
|
|
|
|
),
|
|
|
|
|
name: t('成员') + ` (${groupMembers.length})`,
|
|
|
|
|
panel: <MembersPanel groupId={groupId} />,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
/>,
|
|
|
|
|