mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 19:49:01 +01:00 
			
		
		
		
	Merge pull request #3059 from eliandoran/bugfix/relation_map_crash
Fix relation map crash on missing inverse pair (fixes #3055)
This commit is contained in:
		
						commit
						3bd2732cee
					
				| @ -181,6 +181,7 @@ function getRelationMap(req) { | ||||
| 
 | ||||
|             if (def.inverseRelation) { | ||||
|                 resp.inverseRelations[relationDefinition.getDefinedName()] = def.inverseRelation; | ||||
|                 resp.inverseRelations[def.inverseRelation] = relationDefinition.getDefinedName(); | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam