Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:lipstick: Adjust snapshot error retry spacing https://github.com/siyuan-note/siyuan/issues/19497

Daniel78d6d7670ff9
diff --git a/app/src/history/history.ts b/app/src/history/history.ts
index 10304a523e..31dc71a035 100644
--- a/app/src/history/history.ts
+++ b/app/src/history/history.ts
@@ -440,7 +440,7 @@ const renderRepo = async (element: Element, currentPage: number) => {
}
} catch (error) {
if (repoRequests.get(element) === request && element.isConnected) {
- listElement.innerHTML = `<li class="b3-list--empty">${escapeHtml(String(error))}<br><button class="b3-button b3-button--outline" data-type="retryRepo">${window.siyuan.languages.retry}</button></li>`;
+ listElement.innerHTML = `<li class="b3-list--empty">${escapeHtml(String(error))}<div class="fn__hr"></div><button class="b3-button b3-button--outline" data-type="retryRepo">${window.siyuan.languages.retry}</button></li>`;
updateRepoSelection(element);
}
} finally {