This commit is contained in:
Liang Ding 2022-07-05 22:04:34 +08:00
parent 3e5e0376a3
commit 7180e66654
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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 += `<li class="b3-list-item b3-list-item--hide-action" data-id="${item.id}">
<div class="b3-list-item__text">
${item.hCreated}<span class="fn__space"></span>${escapeHtml(item.memo)}<span class="b3-list-item__meta">${item.hSize}</span>