mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 18:25:51 +01:00
always use template strings instead of string concatenation
This commit is contained in:
@@ -57,7 +57,7 @@ export default class RecentChangesDialog extends BasicWidget {
|
||||
this.ancestorNoteId = hoistedNoteService.getHoistedNoteId();
|
||||
}
|
||||
|
||||
const recentChangesRows = await server.get('recent-changes/' + this.ancestorNoteId);
|
||||
const recentChangesRows = await server.get(`recent-changes/${this.ancestorNoteId}`);
|
||||
|
||||
// preload all notes into cache
|
||||
await froca.getNotes(recentChangesRows.map(r => r.noteId), true);
|
||||
|
||||
Reference in New Issue
Block a user