Skip to content

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

:rotating_light:

Vanessaf8b9c5ed9250
diff --git a/app/src/emoji/index.ts b/app/src/emoji/index.ts
index 0662b25f17..7328538da1 100644
--- a/app/src/emoji/index.ts
+++ b/app/src/emoji/index.ts
@@ -387,7 +387,7 @@ export const updateOutlineEmoji = (unicode: string) => {
getAllModels().outline.forEach(model => {
model.headerElement.nextElementSibling.firstElementChild.innerHTML = unicode2Emoji(unicode || Constants.SIYUAN_IMAGE_FILE);
});
-}
+};
export const updateFileTreeEmoji = (unicode: string, id: string, icon = "iconFile") => {
let emojiElement;
diff --git a/app/src/layout/dock/Outline.ts b/app/src/layout/dock/Outline.ts
index ec6da76277..bb62a48904 100644
--- a/app/src/layout/dock/Outline.ts
+++ b/app/src/layout/dock/Outline.ts
@@ -166,7 +166,7 @@ export class Outline extends Model {
public updateDocTitle(ial?:IObject) {
if (this.type === "pin") {
if (ial) {
- let iconHTML = `<span class="b3-list-item__graphic">${unicode2Emoji(ial.icon || Constants.SIYUAN_IMAGE_FILE)}</span>`
+ let iconHTML = `<span class="b3-list-item__graphic">${unicode2Emoji(ial.icon || Constants.SIYUAN_IMAGE_FILE)}</span>`;
if (typeof ial.icon === "undefined" && this.headerElement.nextElementSibling.firstElementChild) {
iconHTML = this.headerElement.nextElementSibling.firstElementChild.outerHTML;
}