moving from inherited attribute queries to owned one where it makes sense

This commit is contained in:
zadam
2019-12-01 11:10:04 +01:00
parent ba8a8dca7b
commit d9b9d730bb
10 changed files with 26 additions and 37 deletions

View File

@@ -15,7 +15,7 @@ async function findClippingNote(todayNote, pageUrl) {
const notes = await todayNote.getDescendantNotesWithLabel('pageUrl', pageUrl);
for (const note of notes) {
if (await note.getLabelValue('clipType') === 'clippings') {
if (await note.getOwnedLabelValue('clipType') === 'clippings') {
return note;
}
}