From 7180e6665437ec998083e4b9d841251d3bd45228 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 5 Jul 2022 22:04:34 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=95=B0=E6=8D=AE=E4=BB=93?= =?UTF-8?q?=E5=BA=93=E6=94=AF=E6=8C=81=E4=BA=91=E7=AB=AF=E5=A4=87=E4=BB=BD?= =?UTF-8?q?=20https://github.com/siyuan-note/siyuan/issues/5336?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/util/history.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/util/history.ts b/app/src/util/history.ts index 7002c2ffe..e2813d63c 100644 --- a/app/src/util/history.ts +++ b/app/src/util/history.ts @@ -125,7 +125,7 @@ const renderRepo = (element: Element, currentPage: number) => { return; } let repoHTML = ""; - response.data.logs.forEach((item: { memo: string, id: string, hCreated: string, count: number, hSize: string }) => { + response.data.snapshots.forEach((item: { memo: string, id: string, hCreated: string, count: number, hSize: string }) => { repoHTML += `
  • ${item.hCreated}${escapeHtml(item.memo)}${item.hSize}