Fixes #709 - Share links fail when logged into another Outline account

This commit is contained in:
Tom Moor
2018-07-21 12:42:00 -07:00
parent 03411ead09
commit 28690be77c
2 changed files with 4 additions and 3 deletions

View File

@ -66,7 +66,7 @@ class Document extends BaseModel {
});
};
if (this.collection.documents) {
if (this.collection && this.collection.documents) {
traveler(this.collection.documents, []);
if (path) return path;
}