mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 18:30:53 +00:00
group staff can quit group
This commit is contained in:
@@ -488,7 +488,7 @@ class GroupView extends React.Component {
|
|||||||
</ul>
|
</ul>
|
||||||
}
|
}
|
||||||
{/* gourp owner only can dissmiss group, admin could not quit, department member could not quit */}
|
{/* 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">
|
<ul className="sf-popover-list">
|
||||||
<li><a href="#" className="sf-popover-item" onClick={this.toggleLeaveGroupDialog}>{gettext('Leave Group')}</a></li>
|
<li><a href="#" className="sf-popover-item" onClick={this.toggleLeaveGroupDialog}>{gettext('Leave Group')}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Reference in New Issue
Block a user