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
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
This commit is contained in:
parent
391f0fc190
commit
fbab3d75f3
@ -96,12 +96,7 @@ export class AppCommonEffects {
|
|||||||
var a = action as appCommonActions.EditItem;
|
var a = action as appCommonActions.EditItem;
|
||||||
var itemType = itemtypes[a.item.itemType];
|
var itemType = itemtypes[a.item.itemType];
|
||||||
var viewer = itemType.viewer;
|
var viewer = itemType.viewer;
|
||||||
if (viewer !== 'trijntje') {
|
this.router$.navigate(['/app', viewer, 'item', a.item.code]);
|
||||||
this.router$.navigate(['/viewer', viewer, 'item', a.item.code]);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
this.router$.navigate(['/app', viewer, 'item', a.item.code]);
|
|
||||||
}
|
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
|
Loading…
Reference in New Issue
Block a user