aboutsummaryrefslogtreecommitdiff
path: root/src/client/DocServer.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-09-07 16:16:53 -0400
committerbobzel <zzzman@gmail.com>2023-09-07 16:16:53 -0400
commit4f53226064e8b14b6ab89cbacd1908cf2b3138eb (patch)
tree4a7ac17fba819a5205e73613f5e8590daf6122db /src/client/DocServer.ts
parentcfe341e7bbde7a6cee745d7cee61fb0d4af2a838 (diff)
added deleted links to myRecentlyClosed. added drag out of comparison box doc. added all links to Doc.UserDoc().links
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r--src/client/DocServer.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts
index fc8a9f3d6..353e11775 100644
--- a/src/client/DocServer.ts
+++ b/src/client/DocServer.ts
@@ -53,6 +53,7 @@ export namespace DocServer {
DocListCast(DocCast(Doc.UserDoc().myLinkDatabase).data).forEach(link => {
if (!references.has(DocCast(link.link_anchor_1)) && !references.has(DocCast(link.link_anchor_2))) {
Doc.RemoveDocFromList(DocCast(Doc.UserDoc().myLinkDatabase), 'data', link);
+ Doc.AddDocToList(Doc.MyRecentlyClosed, undefined, link);
}
});
LinkManager.userLinkDBs.forEach(linkDb => Doc.FindReferences(linkDb, references, undefined));