🎨 Show abbreviated ID in data snapshot list Fix https://github.com/siyuan-note/siyuan/issues/8075

This commit is contained in:
Liang Ding 2023-04-21 21:49:13 +08:00
parent 3f6421cf17
commit 9e2f531e3b
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -111,7 +111,7 @@ const renderRepoItem = (response: IWebSocketData, element: Element, type: string
<span class="b3-chip b3-chip--secondary b3-chip--small${item.tag ? "" : " fn__none"}">${item.tag}</span>
</div>
<div>
<span class="ft__smaller ft__on-surface">${item.hCreated}</span>
<span class="ft__smaller ft__on-surface"><code class='fn__code'>${item.id.substring(0, 7)}</code> ${item.hCreated}</span>
<span class="b3-list-item__meta">${window.siyuan.languages.fileSize} ${item.hSize}</span>
<span class="b3-list-item__meta">${window.siyuan.languages.fileCount} ${item.count}</span>`;
let statHTML = "";