diff options
| author | bobzel <zzzman@gmail.com> | 2022-06-21 15:11:19 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-06-21 15:11:19 -0400 |
| commit | d446a2c555019133f549978eb3a8453ac40c28d9 (patch) | |
| tree | 044013c32d6175d39307934e02eebf28fec828b4 /src/client/views/DocumentDecorations.tsx | |
| parent | c0bdb958920f1f0f68a35c70d5b4ad1bf5ea5824 (diff) | |
| parent | 5c582ee52f3af9515d3397fa7661d068fe1babe8 (diff) | |
Merge branch 'master' into temporalmedia-mehek
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 18cf785b9..4247501bb 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -87,10 +87,10 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number, P if (titleFieldKey === "title") { d.dataDoc["title-custom"] = !this._accumulatedTitle.startsWith("-"); if (StrCast(d.rootDoc.title).startsWith("@") && !this._accumulatedTitle.startsWith("@")) { - Doc.RemoveDocFromList(Doc.UserDoc(), "myPublishedDocs", d.rootDoc); + Doc.RemoveDocFromList(CurrentUserUtils.MyPublishedDocs, undefined, d.rootDoc); } if (!StrCast(d.rootDoc.title).startsWith("@") && this._accumulatedTitle.startsWith("@")) { - Doc.AddDocToList(Doc.UserDoc(), "myPublishedDocs", d.rootDoc); + Doc.AddDocToList(CurrentUserUtils.MyPublishedDocs, undefined, d.rootDoc); } } //@ts-ignore |
