Browse Source

:sparkles: https://github.com/siyuan-note/siyuan/issues/5173

Vanessa 3 years ago
parent
commit
d073dcd30d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/src/util/history.ts

+ 1 - 0
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;