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 []; } ));