mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-15 05:10:47 +08:00
Merge branch 'dev' of gitlab.corp.qunar.com:mfe/yapi into dev
This commit is contained in:
commit
356822adaf
@ -268,13 +268,13 @@ export default class GroupList extends Component {
|
||||
this.props.curUserRole === 'admin' ? (addmark) : ''
|
||||
}
|
||||
</Menu>;
|
||||
menu = currGroup.role === 'owner' ? <a className="editSet"><Icon type="setting" onClick={() => this.showModal(TYPE_EDIT)} /></a> : <Dropdown overlay={menu}>
|
||||
menu = (currGroup.role === 'owner' && this.props.curUserRole !== 'admin') ? <a className="editSet"><Icon type="setting" onClick={() => this.showModal(TYPE_EDIT)} /></a> : <Dropdown overlay={menu}>
|
||||
<a className="ant-dropdown-link" href="#">
|
||||
<Icon type="setting" />
|
||||
</a>
|
||||
</Dropdown>;
|
||||
|
||||
if(this.props.currGroup.type!=='private' && currGroup.role === 'owner'){
|
||||
if(this.props.currGroup.type==='private' && currGroup.role === 'owner' && this.props.curUserRole !== 'admin'){
|
||||
menu = null;
|
||||
}
|
||||
|
||||
|
@ -1 +1 @@
|
||||
module.exports = {}
|
||||
module.exports = {qsso : require('plugins/yapi-plugin-qsso/client.js')}
|
Loading…
Reference in New Issue
Block a user