mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	moving from inherited attribute queries to owned one where it makes sense
This commit is contained in:
		| @@ -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; | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user