Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
client/context menus/insert note: fix a typo again
Adorian Dorana45289e385df
diff --git a/apps/client/src/services/note_types.ts b/apps/client/src/services/note_types.tsindex 9cb8484049..8c4bda6735 100644--- a/apps/client/src/services/note_types.ts+++ b/apps/client/src/services/note_types.ts@@ -208,7 +208,7 @@ async function isNewTemplate(templateNoteId) {// Determine the difference in days between now and the template's creation dateconst age = (new Date().getTime() - creationDate.getTime()) / DAY_LENGTH;- // Return true if the template is at most NEW_TEMPLATE_MIN_AGE days old+ // Return true if the template is at most NEW_TEMPLATE_MAX_AGE days oldreturn (age <= NEW_TEMPLATE_MAX_AGE)} else {return false;