aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-10-14 11:02:40 -0400
committerbobzel <zzzman@gmail.com>2020-10-14 11:02:40 -0400
commit79221b73d0526ce31349cf4a5b75f0047c60b829 (patch)
tree2cba0890159864bf54b7f5ce395c605f8c0e8027 /src/client/util/CurrentUserUtils.ts
parent69898c3205584db65f96e37dbdf85a76f850ce12 (diff)
fixed focusDocument in freeform views to work with annotation overlays(mostly) - still an issue when original image is in a frame that doen't match its dimensions
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index 7535d7c24..dcbeba8cd 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -881,6 +881,7 @@ export class CurrentUserUtils {
let linkDocs = await DocServer.GetRefField(linkDatabaseId);
if (!linkDocs) {
linkDocs = new Doc(linkDatabaseId, true);
+ (linkDocs as Doc).author = Doc.CurrentUserEmail;
(linkDocs as Doc).data = new List<Doc>([]);
(linkDocs as Doc)["acl-Public"] = SharingPermissions.Add;
}