删除协作者

This commit is contained in:
caishi 2021-02-26 11:57:35 +08:00
parent f8b9003e15
commit e469ddae24
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ function CollaboratorMember({projectsId,owner,project_id,author,showNotification
render: (text, item) => ( render: (text, item) => (
<span style={{ justifyContent: "center" }}> <span style={{ justifyContent: "center" }}>
{author && author.login !== item.login && ( {author && author.login !== item.login && (
<Popconfirm title="确认将此成员从项目中移除?" okText="是" cancelText="否" onOk={() => deleteUser(item.id)}> <Popconfirm title="确认将此成员从项目中移除?" okText="是" cancelText="否" onConfirm={() => deleteUser(item.id)}>
<a className="text-delete">删除</a> <a className="text-delete">删除</a>
</Popconfirm> </Popconfirm>
)} )}