|
|
@ -13,6 +13,7 @@ import {
|
|
|
|
UserName,
|
|
|
|
UserName,
|
|
|
|
UserAvatar,
|
|
|
|
UserAvatar,
|
|
|
|
MessageAckContainer,
|
|
|
|
MessageAckContainer,
|
|
|
|
|
|
|
|
Popconfirm,
|
|
|
|
} from '@capital/component';
|
|
|
|
} from '@capital/component';
|
|
|
|
import styled from 'styled-components';
|
|
|
|
import styled from 'styled-components';
|
|
|
|
import type { GroupTopic } from '../types';
|
|
|
|
import type { GroupTopic } from '../types';
|
|
|
@ -139,11 +140,12 @@ export const TopicCard: React.FC<{
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
{userId === groupOwnerId && (
|
|
|
|
{userId === groupOwnerId && (
|
|
|
|
<IconBtn
|
|
|
|
<Popconfirm
|
|
|
|
title={Translate.delete}
|
|
|
|
title={Translate.topicDeleteConfimTip}
|
|
|
|
icon="mdi:delete-outline"
|
|
|
|
onConfirm={handleDeleteTopic}
|
|
|
|
onClick={handleDeleteTopic}
|
|
|
|
>
|
|
|
|
/>
|
|
|
|
<IconBtn title={Translate.delete} icon="mdi:delete-outline" />
|
|
|
|
|
|
|
|
</Popconfirm>
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|