1
0
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:
Michael An
2025-03-03 10:16:53 +08:00
committed by GitHub
parent 98ca860a16
commit 74c2b61b39

View File

@@ -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;
}
}