Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d1466f35a6 |
@@ -31,7 +31,7 @@ export function Navigation({
|
||||
onNavigate?: () => void;
|
||||
}) {
|
||||
const collection = docs.find((d) => d.slug === current)?.collection;
|
||||
const scopedDocs = docs.filter((d) => d.collection === collection);
|
||||
const scopedDocs = docs.filter((d) => d.collection === collection && d.group !== "归档入口");
|
||||
const groups = [...new Set(scopedDocs.map((d) => d.group))];
|
||||
const collections = collectionEntries(docs);
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user