mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-29 00:27:37 +00:00
hide v1 wikis header when no v1 wikis (#7538)
This commit is contained in:
@@ -127,6 +127,7 @@ class WikiCardView extends Component {
|
||||
);
|
||||
}
|
||||
}
|
||||
if (v1Wikis.length > 0) {
|
||||
wikiCardGroups.push(
|
||||
<WikiCardGroup
|
||||
key='old-Wikis'
|
||||
@@ -142,6 +143,7 @@ class WikiCardView extends Component {
|
||||
isShowAvatar={true}
|
||||
/>
|
||||
);
|
||||
}
|
||||
return wikiCardGroups;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user