mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-10-30 21:40:12 +00:00 
			
		
		
		
	Fix person-org relation info
This commit is contained in:
		| @@ -335,10 +335,13 @@ personMatchesOrg model = | ||||
|             Comp.Dropdown.getSelected model.corrOrgModel | ||||
|                 |> List.head | ||||
|  | ||||
|         persOrg = | ||||
|         pers = | ||||
|             Comp.Dropdown.getSelected model.corrPersonModel | ||||
|                 |> List.head | ||||
|  | ||||
|         persOrg = | ||||
|             pers | ||||
|                 |> Maybe.andThen (\idref -> Dict.get idref.id model.allPersons) | ||||
|                 |> Maybe.andThen .organization | ||||
|     in | ||||
|     org == Nothing || org == persOrg | ||||
|     org == Nothing || pers == Nothing || org == persOrg | ||||
|   | ||||
		Reference in New Issue
	
	Block a user