Fix when not having READ rights on the parent
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma
2020-08-01 09:44:32 +02:00
parent c682fb9184
commit 6785bfc3e0
3 changed files with 7 additions and 9 deletions

View File

@@ -177,7 +177,7 @@ export class MapEffects {
return this.itemService$.getItem(child.parentCode)
.pipe(map(parent => {
return {child, parent};
})
}),catchError(() => { let parent:IItem = null;return of({child,parent})})
);
}),
map(data => new mapActions.SelectItemSuccess(data.child, data.parent)),