群成员移出按钮补充 remove_circle 图标
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
304283c8d8
commit
2d589cbe6b
@@ -214,9 +214,16 @@ export function GroupMembersModal({ topicId, canInvite, myUserId, myRole, initia
|
||||
removeMutation.mutate(m.user_id);
|
||||
}
|
||||
}}
|
||||
className="flex-none cursor-pointer text-xs text-danger-text hover:underline disabled:pointer-events-none disabled:cursor-default disabled:opacity-60 disabled:hover:no-underline"
|
||||
className="flex flex-none cursor-pointer items-center gap-0.5 text-xs text-danger-text hover:underline disabled:pointer-events-none disabled:cursor-default disabled:opacity-60 disabled:hover:no-underline"
|
||||
>
|
||||
{removeMutation.isPending && removeMutation.variables === m.user_id ? '移出中…' : '移出'}
|
||||
{removeMutation.isPending && removeMutation.variables === m.user_id ? (
|
||||
'移出中…'
|
||||
) : (
|
||||
<>
|
||||
<Icon name="remove_circle" className="text-sm" />
|
||||
移出
|
||||
</>
|
||||
)}
|
||||
</button>
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user