1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 08:53:14 +00:00

group staff can quit group

This commit is contained in:
lian
2021-06-08 10:25:55 +08:00
parent 8f392f1cb3
commit 903b6dee65

View File

@@ -488,7 +488,7 @@ class GroupView extends React.Component {
</ul>
}
{/* gourp owner only can dissmiss group, admin could not quit, department member could not quit */}
{(!this.state.isOwner && !this.state.isStaff && !isDepartmentGroup) &&
{(!this.state.isOwner && !isDepartmentGroup) &&
<ul className="sf-popover-list">
<li><a href="#" className="sf-popover-item" onClick={this.toggleLeaveGroupDialog}>{gettext('Leave Group')}</a></li>
</ul>