Files
Trilium/apps/server/src/services
Jason Wasem ee6f988c35 refactor(search): simplify null check and use join for text concatenation
根据代码审查建议优化代码:
- 移除多余的 `elements &&` 检查,因为 Array.isArray() 本身可处理 null/undefined
- 使用 `join(" ")` 替代 `toString()` 以确保文本元素用空格分隔,更适合全文搜索
- 移除显式类型声明,让 TypeScript 自动推断

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 10:01:13 +08:00
..
2025-09-03 10:55:40 +03:00
2025-04-22 17:16:41 +03:00
2025-04-22 17:16:41 +03:00
2025-06-07 12:46:18 +03:00
2025-10-01 03:30:16 -04:00
2025-04-22 17:16:41 +03:00
2025-04-22 17:16:41 +03:00
2025-04-22 17:16:41 +03:00
2025-04-22 17:16:41 +03:00
2025-06-07 12:10:41 +02:00
2025-04-22 17:16:41 +03:00
2025-04-22 17:16:41 +03:00
2025-11-09 15:10:40 +02:00
2025-04-22 17:16:41 +03:00
2025-09-01 22:55:53 +03:00