From 4c1fc6bcfdf603bb8c620f9288da09ed69587bfb Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 25 May 2021 09:58:55 -0400 Subject: fixed userColors to be set on mySharingDocs data document. fixed so that field is userColor everywhere (not color). --- src/client/util/CurrentUserUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/util/CurrentUserUtils.ts') 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); } -- cgit v1.2.3-70-g09d2