Aw4951 Non-fatal error if no viewer defined for itemtype
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Peter (extern) 2023-04-21 09:08:38 +02:00
parent b8f8f27794
commit 7c06343909
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "farmmaps-lib-app",
"version": "3.1.0",
"version": "3.2.0",
"scripts": {
"ng": "ng",
"start": "ng serve",

View File

@ -170,7 +170,7 @@ export class AppCommonEffects {
this.router$.navigate(['/map', query ])
}else if(viewer == 'edit_in_editor') {
this.router$.navigate(['/editor', editor, 'item', a.item.code])
} else {
} else if(viewer) {
this.router$.navigate(['/viewer', viewer, 'item', a.item.code])
}
return [];