Compare commits

..

No commits in common. "5e1bc6d705b8104fc148ef73dd05ac80594eab63" and "ed1e1478b231c95e9b16a33fa07f608e748e4ea8" have entirely different histories.

View File

@ -139,17 +139,10 @@ export class AppCommonEffects {
const itemType = itemtypes[a.item.itemType]; const itemType = itemtypes[a.item.itemType];
var editor = itemType && itemType.editor ? itemType.editor : editor; var editor = itemType && itemType.editor ? itemType.editor : editor;
} }
if (editor == 'croppingscheme') { this.router$.navigate(['/editor',editor,'item', a.item.code])
// Exeception: no 'item' in route
this.router$.navigate(['/editor', editor, a.item.code])
}
else {
this.router$.navigate(['/editor', editor, 'item', a.item.code])
}
return []; return [];
} }
) )));
));
viewItem$ = createEffect(() => this.actions$.pipe( viewItem$ = createEffect(() => this.actions$.pipe(
ofType(appCommonActions.VIEWITEM), ofType(appCommonActions.VIEWITEM),