1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-15 23:00:57 +00:00

fix create department wiki bug (#6863)

This commit is contained in:
Michael An
2024-09-29 17:54:16 +08:00
committed by GitHub
parent ac9ea564b8
commit 2a4949f518
2 changed files with 9 additions and 0 deletions

View File

@@ -104,6 +104,7 @@ class Wikis extends Component {
let groupWikis = this.state.groupWikis;
let new_wiki = res.data;
new_wiki['version'] = 'v2';
new_wiki['admins'] = new_wiki.group_admins;
if (currentDeptID) {
groupWikis.filter(group => {
if (group.group_id === currentDeptID) {