aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-05-25 09:58:55 -0400
committerbobzel <zzzman@gmail.com>2021-05-25 09:58:55 -0400
commit4c1fc6bcfdf603bb8c620f9288da09ed69587bfb (patch)
tree72ce244ed8e38fc2c229b290f45253f6fd6dce75 /src/client/util/CurrentUserUtils.ts
parentf8de7d5bd84f989f4ca08b10d670345d6083ecdb (diff)
fixed userColors to be set on mySharingDocs data document. fixed so that field is userColor everywhere (not color).
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index 14bb87e89..12733e815 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -918,7 +918,7 @@ export class CurrentUserUtils {
(sharedDocs as Doc)["acl-Public"] = (sharedDocs as Doc)[DataSym]["acl-Public"] = SharingPermissions.Add;
}
if (sharedDocs instanceof Doc) {
- sharedDocs.userColor = sharedDocs.userColor || "rgb(202, 202, 202)";
+ Doc.GetProto(sharedDocs).userColor = sharedDocs.userColor || "rgb(202, 202, 202)";
}
doc.mySharedDocs = new PrefetchProxy(sharedDocs);
}