mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 10:40:41 +01:00
chore(prettier): fix code style
This commit is contained in:
@@ -43,9 +43,9 @@ function getDayNotesForMonth(req: Request) {
|
||||
AND attr.value LIKE '${month}%'`;
|
||||
|
||||
if (calendarRoot) {
|
||||
const rows = sql.getRows<{ date: string, noteId: string }>(query);
|
||||
const rows = sql.getRows<{ date: string; noteId: string }>(query);
|
||||
const result: Record<string, string> = {};
|
||||
for (const {date, noteId} of rows) {
|
||||
for (const { date, noteId } of rows) {
|
||||
const note = becca.getNote(noteId);
|
||||
if (note?.hasAncestor(String(calendarRoot))) {
|
||||
result[date] = noteId;
|
||||
|
||||
Reference in New Issue
Block a user