clean up how note tags are used

This commit is contained in:
Robert Dyer
2025-05-06 09:56:07 -05:00
parent 6b26484486
commit 226c8cb5bd
5 changed files with 13 additions and 10 deletions
+3
View File
@@ -148,6 +148,9 @@ const Utils = {
},
getTagValue: function (note, tag, defaultValue=undefined) {
if (!note) {
return undefined;
}
tag += ':'
const tagIndex = note.indexOf(tag);
if (tagIndex === -1) {