Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/9775

Vanessa4d189643000f
diff --git a/app/src/layout/dock/Inbox.ts b/app/src/layout/dock/Inbox.ts
index b5fae5a2de..0dc9e72b95 100644
--- a/app/src/layout/dock/Inbox.ts
+++ b/app/src/layout/dock/Inbox.ts
@@ -333,8 +333,9 @@ ${(Lute.New()).MarkdownStr("", data.shorthandContent)}
path: pathPosix().join(getDisplayName(toPath[0], false, true), Lute.NewNodeID() + ".sy"),
title: replaceFileName(response.data.shorthandTitle),
md: response.data.shorthandContent,
- }, () => {
+ }, (docResponse) => {
this.remove(item);
+ fetchPost("/api/format/netAssets2LocalAssets", {id: docResponse.data.id});
});
});