And another potential issue
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2020-07-22 08:23:53 +02:00
parent 0da8d3d46d
commit 31d01c75c5

View File

@ -112,7 +112,7 @@ export class AppCommonEffects {
var editor = "property"; var editor = "property";
if(a.item.itemType) { if(a.item.itemType) {
var itemType = itemtypes[a.item.itemType]; var itemType = itemtypes[a.item.itemType];
var editor = itemType.editor ? itemType.editor : editor; var editor = itemType && itemType.editor ? itemType.editor : editor;
} }
this.router$.navigate(['/editor',editor,'item', a.item.code]) this.router$.navigate(['/editor',editor,'item', a.item.code])
return []; return [];