diff --git a/app/src/util/history.ts b/app/src/util/history.ts
index bc0c8ae79..ff443bdad 100644
--- a/app/src/util/history.ts
+++ b/app/src/util/history.ts
@@ -109,11 +109,13 @@ const renderRepoItem = (response: IWebSocketData, element: Element, type: string
element.lastElementChild.innerHTML = `
${window.siyuan.languages.emptyContent}`;
return;
}
- let actionHTML = ` `;
+ let actionHTML = `
+`;
if (type === "download") {
actionHTML = ``
} else if (type === "upload") {
- actionHTML = ``
+ actionHTML = `
+`
}
let repoHTML = "";
response.data.snapshots.forEach((item: { memo: string, id: string, hCreated: string, count: number, hSize: string, tag: string }) => {
@@ -126,9 +128,6 @@ const renderRepoItem = (response: IWebSocketData, element: Element, type: string
${window.siyuan.languages.fileCount}${item.count}
${actionHTML}
-
-
-
`;
});
element.lastElementChild.innerHTML = `${repoHTML}`;