From 4d189643000f76e47ee18d3c8a4e07c6445f4160 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 29 Nov 2023 10:40:39 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/9775 --- app/src/layout/dock/Inbox.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/layout/dock/Inbox.ts b/app/src/layout/dock/Inbox.ts index b5fae5a2d..0dc9e72b9 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}); }); });