Closes #801
This commit is contained in:
parent
ac21d4b6e8
commit
400d0f264e
|
@ -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