diff options
author | bobzel <zzzman@gmail.com> | 2021-05-25 09:58:55 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-05-25 09:58:55 -0400 |
commit | 4c1fc6bcfdf603bb8c620f9288da09ed69587bfb (patch) | |
tree | 72ce244ed8e38fc2c229b290f45253f6fd6dce75 /src/client/views/nodes/DocumentView.tsx | |
parent | f8de7d5bd84f989f4ca08b10d670345d6083ecdb (diff) |
fixed userColors to be set on mySharingDocs data document. fixed so that field is userColor everywhere (not color).
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 7ec9f5f74..b861669f8 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -927,7 +927,7 @@ export class DocumentViewInternal extends DocComponent<DocumentViewInternalProps <div className={`documentView-titleWrapper${showTitleHover ? "-hover" : ""}`} key="title" style={{ position: this.headerMargin ? "relative" : "absolute", height: this.titleHeight, - background: SharingManager.Instance.users.find(users => users.user.email === this.dataDoc.author)?.userColor || (this.rootDoc.type === DocumentType.RTF ? StrCast(Doc.SharingDoc().userColor) : "rgba(0,0,0,0.4)"), + background: StrCast(SharingManager.Instance.users.find(users => users.user.email === this.dataDoc.author)?.sharingDoc.userColor, this.rootDoc.type === DocumentType.RTF ? StrCast(Doc.SharingDoc().userColor) : "rgba(0,0,0,0.4)"), pointerEvents: this.onClickHandler || this.Document.ignoreClick ? "none" : undefined, }}> <EditableView ref={this._titleRef} |