diff options
author | bobzel <zzzman@gmail.com> | 2023-08-27 13:16:30 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-08-27 13:16:30 -0400 |
commit | 2df1f976b5f79213299ea7169c9ded8b216dee6e (patch) | |
tree | d8d3dfa28d1ef621e525eee1f372e028d126c557 /src | |
parent | 5f5bdc03745a05712bf3ccd68cb59c1e814d10f2 (diff) |
from last
Diffstat (limited to 'src')
-rw-r--r-- | src/client/documents/Documents.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index da3cbcb7b..5b68c2d84 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -1597,7 +1597,7 @@ export namespace DocUtils { const documentList: ContextMenuProps[] = DocListCast(DocListCast(Doc.MyTools?.data)[0]?.data) .filter(btnDoc => !btnDoc.hidden) .map(btnDoc => Cast(btnDoc?.dragFactory, Doc, null)) - .filter(doc => doc && doc !== Doc.UserDoc().emptyTrail && doc !== Doc.UserDoc().emptyNote && doc.title && doc.title != '') + .filter(doc => doc && doc !== Doc.UserDoc().emptyTrail && doc !== Doc.UserDoc().emptyNote && doc.title) .map((dragDoc, i) => ({ description: ':' + StrCast(dragDoc.title).replace('Untitled ', ''), event: undoable((args: { x: number; y: number }) => { |