mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-15 06:44:16 +00:00
add wiki support owner department (#6113)
* add wiki support owner department * wiki can select owner --------- Co-authored-by: ‘JoinTyang’ <yangtong1009@163.com>
This commit is contained in:
@@ -80,8 +80,8 @@ class Wikis extends Component {
|
||||
this.setState({isShowAddDialog: !this.state.isShowAddDialog});
|
||||
};
|
||||
|
||||
addWiki = (wikiName) => {
|
||||
wikiAPI.addWiki2(wikiName).then((res) => {
|
||||
addWiki = (wikiName, departmentID) => {
|
||||
wikiAPI.addWiki2(wikiName, departmentID).then((res) => {
|
||||
let wikis = this.state.wikis.slice(0);
|
||||
let new_wiki = res.data;
|
||||
new_wiki['version'] = 'v2';
|
||||
|
Reference in New Issue
Block a user