mirror of
https://github.com/outline/outline.git
synced 2026-11-21 21:44:30 +03:00
Closes #801
This commit is contained in:
1 parent
ac21d4b6e8
commit
400d0f264e
1 file changed
+2
@@ -18,6 +18,8 @@ type Props = {
|
||||
|
||||
const Breadcrumb = observer(({ document, collections }: Props) => {
|
||||
const path = document.pathToDocument.slice(0, -1);
|
||||
if (!document.collection) return null;
|
||||
|
||||
const collection =
|
||||
collections.getById(document.collection.id) || document.collection;
|
||||
|
||||
|
||||
Reference in new issue
Block a user