Skip to content

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

:rotating_light:

Vanessad9c30ae4ff35
diff --git a/app/src/menus/navigation.ts b/app/src/menus/navigation.ts
index 7c5792dc8b..5eb1904bb4 100644
--- a/app/src/menus/navigation.ts
+++ b/app/src/menus/navigation.ts
@@ -656,7 +656,7 @@ export const genImportMenu = (notebookId: string, pathString: string) => {
}
files.getLeaf(liElement, notebookId);
window.siyuan.menus.menu.remove();
- }
+ };
/// #if !BROWSER
const importstdmd = (label: string, isDoc?: boolean) => {
return {
diff --git a/app/src/protyle/render/av/row.ts b/app/src/protyle/render/av/row.ts
index 24d7ac5eee..473fff19b2 100644
--- a/app/src/protyle/render/av/row.ts
+++ b/app/src/protyle/render/av/row.ts
@@ -80,7 +80,7 @@ const setPage = (blockElement: Element) => {
blockElement.setAttribute("data-page-size", currentCount.toString());
}
}
-}
+};
/**
* 前端插入一假行
@@ -119,7 +119,7 @@ ${(item.getAttribute("data-block-id") || item.dataset.dtype === "block") ? ' dat
// https://github.com/siyuan-note/siyuan/issues/10517
let hideTextCell = false;
response.data.filters.find((item: IAVFilter) => {
- const headerElement = blockElement.querySelector(`.av__cell--header[data-col-id="${item.column}"]`)
+ const headerElement = blockElement.querySelector(`.av__cell--header[data-col-id="${item.column}"]`);
if (headerElement && ["relation", "rollup", "template", "created", "updated"].includes(headerElement.getAttribute("dtype"))) {
hideTextCell = true;
return true;
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index f967b28d0e..19255c3733 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -2040,7 +2040,7 @@ export class WYSIWYG {
// https://github.com/siyuan-note/siyuan/issues/10513
const virtualRefElement = hasClosestByAttribute(event.target, "data-type", "virtual-block-ref");
if (virtualRefElement) {
- const blockElement = hasClosestBlock(virtualRefElement)
+ const blockElement = hasClosestBlock(virtualRefElement);
if (blockElement) {
fetchPost("/api/block/getBlockDefIDsByRefText", {
anchor: virtualRefElement.textContent,