mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	Fix relation map crash on missing inverse pair (fixes #3055)
This commit is contained in:
		| @@ -181,6 +181,7 @@ function getRelationMap(req) { | ||||
|  | ||||
|             if (def.inverseRelation) { | ||||
|                 resp.inverseRelations[relationDefinition.getDefinedName()] = def.inverseRelation; | ||||
|                 resp.inverseRelations[def.inverseRelation] = relationDefinition.getDefinedName(); | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user