AW-526 Undo commit c25c206 (FarmMaps) d.d. 18 June 2019 16:32:39, [HACK] Route Trijntje file to app instead of viewer.
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good

This commit is contained in:
Peter (extern) 2019-08-19 12:54:02 +02:00
parent 391f0fc190
commit fbab3d75f3

View File

@ -96,12 +96,7 @@ export class AppCommonEffects {
var a = action as appCommonActions.EditItem;
var itemType = itemtypes[a.item.itemType];
var viewer = itemType.viewer;
if (viewer !== 'trijntje') {
this.router$.navigate(['/viewer', viewer, 'item', a.item.code]);
}
else {
this.router$.navigate(['/app', viewer, 'item', a.item.code]);
}
this.router$.navigate(['/app', viewer, 'item', a.item.code]);
return [];
}
));