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

change wiki style (#3878)

* change wiki style

* fix warnings
This commit is contained in:
Michael An
2019-07-19 23:50:22 +08:00
committed by Daniel Pan
parent 60b5316b19
commit 3f4d9b9eb0
9 changed files with 10 additions and 10 deletions

View File

@@ -111,7 +111,7 @@ class ShareToGroup extends React.Component {
sharedItems: []
};
this.options = [];
this.permissions = []
this.permissions = [];
let { itemType, isRepoOwner } = props;
if (itemType === 'library') {
this.permissions = isRepoOwner ? ['rw', 'r', 'admin', 'cloud-edit', 'preview'] : ['rw', 'r', 'cloud-edit', 'preview'];