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}); }); });