Skip to content

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

:rotating_light:

Vanessa559ad1b0dcee
diff --git a/app/src/util/assets.ts b/app/src/util/assets.ts
index 955a4f4e24..56319d4ad7 100644
--- a/app/src/util/assets.ts
+++ b/app/src/util/assets.ts
@@ -72,7 +72,7 @@ export const loadAssets = (data: IAppearance) => {
const iconURL = `/appearance/icons/${["ant", "material"].includes(data.icon) ? data.icon : "material"}/icon.js?v=${Constants.SIYUAN_VERSION}`;
if (iconDefaultScriptElement) {
iconDefaultScriptElement.remove();
- let svgElement = document.body.firstElementChild
+ let svgElement = document.body.firstElementChild;
while (svgElement.tagName === "svg") {
const currentSvgElement = svgElement;
svgElement = svgElement.nextElementSibling;