diff --git a/README.md b/README.md index 53b3d6d29..5eb2b3591 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,13 @@ Some features are only available to paid members, for more details please refer ## 🌟 Star History -[![Star History Chart](https://api.star-history.com/svg?repos=siyuan-note/siyuan&type=Date)](https://star-history.com/#siyuan-note/siyuan&Date) + + + + + Star History Chart + + ## 🗺️ Roadmap diff --git a/README_ja_JP.md b/README_ja_JP.md index 1dd36c371..0a646ec8e 100644 --- a/README_ja_JP.md +++ b/README_ja_JP.md @@ -123,7 +123,13 @@ SiYuanは、プライバシーを最優先とする個人の知識管理シス ## 🌟 スター履歴 -[![Star History Chart](https://api.star-history.com/svg?repos=siyuan-note/siyuan&type=Date)](https://star-history.com/#siyuan-note/siyuan&Date) + + + + + Star History Chart + + ## 🗺️ ロードマップ diff --git a/README_zh_CN.md b/README_zh_CN.md index cae14a087..7d712fb37 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -124,7 +124,13 @@ ## 🌟 星标历史 -[![Star History Chart](https://api.star-history.com/svg?repos=siyuan-note/siyuan&type=Date)](https://star-history.com/#siyuan-note/siyuan&Date) + + + + + Star History Chart + + ## 🗺️ 路线图 diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts index cc4a506fd..b005cb20d 100644 --- a/app/src/protyle/render/av/cell.ts +++ b/app/src/protyle/render/av/cell.ts @@ -811,7 +811,7 @@ export const renderCell = (cellValue: IAVCellValue, rowIndex = 0) => { cellValue?.rollup?.contents?.forEach((item) => { const rollupText = ["select", "mSelect", "mAsset", "checkbox", "relation"].includes(item.type) ? renderCell(item) : renderRollup(item); if (rollupText) { - text += rollupText + ", "; + text += rollupText + " "; } }); if (text && text.endsWith(", ")) { @@ -820,7 +820,7 @@ export const renderCell = (cellValue: IAVCellValue, rowIndex = 0) => { } else if (cellValue.type === "relation") { cellValue?.relation?.contents?.forEach((item) => { if (item && item.block) { - text += renderRollup(item) + ", "; + text += renderRollup(item) + " "; } }); if (text && text.endsWith(", ")) { diff --git a/kernel/sql/queue.go b/kernel/sql/queue.go index 460e88426..5cc078701 100644 --- a/kernel/sql/queue.go +++ b/kernel/sql/queue.go @@ -36,7 +36,6 @@ var ( operationQueue []*dbQueueOperation dbQueueLock = sync.Mutex{} txLock = sync.Mutex{} - isWriting = false ) type dbQueueOperation struct { @@ -72,11 +71,7 @@ func FlushQueue() { } txLock.Lock() - isWriting = true - defer func() { - isWriting = false - txLock.Unlock() - }() + defer txLock.Unlock() start := time.Now()