diff options
author | bobzel <zzzman@gmail.com> | 2021-02-25 19:09:27 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-02-25 19:09:27 -0500 |
commit | c1d7d04fbb8f13330c0bf540ab8382c5d4b73e2d (patch) | |
tree | 542ad7525c99903bedb5ed854f537f92a7663d7d /src | |
parent | fd329ad25987122c8f2a31177a6c346c97f00457 (diff) |
from last
Diffstat (limited to 'src')
-rw-r--r-- | src/client/documents/Documents.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 5e6ab6394..1acba01a9 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -620,7 +620,8 @@ export namespace Docs { viewDoc["acl-Public"] = dataDoc["acl-Public"] = Doc.UserDoc()?.defaultAclPrivate ? SharingPermissions.None : SharingPermissions.Add; viewDoc["acl-Override"] = dataDoc["acl-Override"] = "None"; - !protoProps.annotationOn && Doc.AddDocToList(Cast(Doc.UserDoc().myFileOrphans, Doc, null), "data", dataDoc); + !Doc.IsSystem(dataDoc) && proto.type !== DocumentType.PDFANNO && proto.type !== DocumentType.LINK && proto.type !== DocumentType.LINKANCHOR && + !protoProps.annotationOn && Doc.AddDocToList(Cast(Doc.UserDoc().myFileOrphans, Doc, null), "data", dataDoc); return Doc.assign(viewDoc, delegateProps, true); } |