Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/14771

Vanessa4c09d621d88b
diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.ts
index 409d843e21..3c722fb561 100644
--- a/app/src/protyle/breadcrumb/index.ts
+++ b/app/src/protyle/breadcrumb/index.ts
@@ -376,8 +376,8 @@ ${padHTML}
click() {
confirmDialog("🤩 " + window.siyuan.languages.share2Liandi,
window.siyuan.languages.share2LiandiConfirmTip.replace("${accountServer}", getCloudURL("")), () => {
- fetchPost("/api/export/export2Liandi", {id: protyle.block.parentID});
- });
+ fetchPost("/api/export/export2Liandi", {id: protyle.block.parentID});
+ });
}
}).element);
}
@@ -631,7 +631,7 @@ ${padHTML}
} else {
html += `<span class="protyle-breadcrumb__item${isCurrent ? " protyle-breadcrumb__item--active" : ""}" data-node-id="${item.id}"${(response.data.length === 1 || index === 0) ? ' style="max-width:none"' : ""}>
<svg class="popover__block" data-id="${item.id}"><use xlink:href="#${getIconByType(item.type, item.subType)}"></use></svg>
- <span class="protyle-breadcrumb__text" title="${item.name}">${item.name}</span>
+ ${item.name ? `<span class="protyle-breadcrumb__text" title="${item.name}">${item.name}</span>` : ""}
</span>`;
}
if (index !== response.data.length - 1) {