From d073dcd30dd2f28fd10a2443baf9dd1d921bd195 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 13 Jun 2022 23:50:35 +0800 Subject: [PATCH] :sparkles: https://github.com/siyuan-note/siyuan/issues/5173 --- app/src/util/history.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/util/history.ts b/app/src/util/history.ts index 3de0a2899..c41c6f269 100644 --- a/app/src/util/history.ts +++ b/app/src/util/history.ts @@ -354,6 +354,7 @@ export const openHistory = () => { fetchPost("/api/repo/indexRepo", {message: textAreaElement.value}, () => { renderRepo(dialog.element.querySelector('#historyContainer [data-type="repo"]')) }) + genRepoDialog.destroy(); }); } target = target.parentElement;