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:
		| @@ -40,7 +40,7 @@ async function executeBundle(bundle, apiParams = {}) { | ||||
|     const ctx = new ScriptContext(bundle.allNotes, apiParams); | ||||
|  | ||||
|     try { | ||||
|         if (await bundle.note.hasLabel('manualTransactionHandling')) { | ||||
|         if (await bundle.note.hasOwnedLabel('manualTransactionHandling')) { | ||||
|             return await execute(ctx, script); | ||||
|         } | ||||
|         else { | ||||
| @@ -117,7 +117,7 @@ async function getScriptBundle(note, root = true, scriptEnv = null, includedNote | ||||
|         return; | ||||
|     } | ||||
|  | ||||
|     if (!root && await note.hasLabel('disableInclusion')) { | ||||
|     if (!root && await note.hasOwnedLabel('disableInclusion')) { | ||||
|         return; | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user