1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

fix getParentDectionaryUrl func (#2669)

This commit is contained in:
C_Q
2018-12-19 16:07:56 +08:00
committed by Daniel Pan
parent 2dd25b2ae7
commit 3bbb44602b
7 changed files with 34 additions and 15 deletions

View File

@@ -34,7 +34,7 @@ class GroupItem extends React.Component {
return (
<tr onMouseEnter={this.onMouseEnter} onMouseLeave={this.onMouseLeave}>
<td>{item.group_info.name}</td>
<td>{Utils.sharePerms[item.permission]}</td>
<td>{Utils.sharePerms(item.permission)}</td>
<td>
<span
className={`sf2-icon-x3 sf2-x op-icon a-simulate ${this.state.isOperationShow ? '' : 'hide'}`}
@@ -128,7 +128,7 @@ class ShareToGroup extends React.Component {
});
} else if (e.target.value == 'Preview-Edit-on-Cloud') {
this.setState({
permission: 'clod-edit',
permission: 'cloud-edit',
});
} else if (e.target.value == 'Preview-on-Cloud') {
this.setState({