client/context menus/insert note: fix a typo again

This commit is contained in:
Adorian Doran 2025-07-05 18:54:22 +03:00
parent 4ffd005b09
commit a45289e385

View File

@ -208,7 +208,7 @@ async function isNewTemplate(templateNoteId) {
// Determine the difference in days between now and the template's creation date // Determine the difference in days between now and the template's creation date
const age = (new Date().getTime() - creationDate.getTime()) / DAY_LENGTH; const 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 old
return (age <= NEW_TEMPLATE_MAX_AGE) return (age <= NEW_TEMPLATE_MAX_AGE)
} else { } else {
return false; return false;