From fbab3d75f31cb6ea4db8bfab979562840e292f15 Mon Sep 17 00:00:00 2001 From: Peter Bastiani Date: Mon, 19 Aug 2019 12:54:02 +0200 Subject: [PATCH] AW-526 Undo commit c25c206 (FarmMaps) d.d. 18 June 2019 16:32:39, [HACK] Route Trijntje file to app instead of viewer. --- projects/common/src/lib/effects/app-common.effects.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/projects/common/src/lib/effects/app-common.effects.ts b/projects/common/src/lib/effects/app-common.effects.ts index 6c6091e..b3291d7 100644 --- a/projects/common/src/lib/effects/app-common.effects.ts +++ b/projects/common/src/lib/effects/app-common.effects.ts @@ -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 []; } ));