remove show_as_featurelist again
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
This commit is contained in:
parent
ba0a60ba09
commit
85143986ee
@ -141,11 +141,7 @@ export class MapComponent implements OnInit, OnDestroy,AfterViewInit {
|
|||||||
urlparts.push(itemType.editor);
|
urlparts.push(itemType.editor);
|
||||||
urlparts.push('item');
|
urlparts.push('item');
|
||||||
urlparts.push(queryState.itemCode);
|
urlparts.push(queryState.itemCode);
|
||||||
}
|
}
|
||||||
if (itemType.viewer == "show_as_featurelist" ) {
|
|
||||||
queryState.parentCode=queryState.itemCode;
|
|
||||||
queryState.itemCode=null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if(urlparts.length>0) {
|
if(urlparts.length>0) {
|
||||||
this.router.navigate(urlparts);
|
this.router.navigate(urlparts);
|
||||||
|
@ -104,12 +104,12 @@ export class AppCommonEffects {
|
|||||||
var itemType = itemtypes[a.item.itemType];
|
var itemType = itemtypes[a.item.itemType];
|
||||||
var viewer = itemType.viewer;
|
var viewer = itemType.viewer;
|
||||||
var editor = itemType.editor;
|
var editor = itemType.editor;
|
||||||
if(viewer == 'select_as_mapitem' || viewer == 'show_as_featurelist') {
|
if(viewer == 'select_as_mapitem') {
|
||||||
let queryState = {
|
let queryState = {
|
||||||
itemCode: (viewer == 'show_as_featurelist')?null:a.item.code,
|
itemCode: a.item.code,
|
||||||
parentCode: (viewer == 'show_as_featurelist')?a.item.code:null,
|
parentCode: null,
|
||||||
level: 1,
|
level: 1,
|
||||||
itemType: (viewer == 'show_as_featurelist')?a.item.itemType:null,
|
itemType: null,
|
||||||
bboxFilter: false,
|
bboxFilter: false,
|
||||||
query: null,
|
query: null,
|
||||||
tags: null,
|
tags: null,
|
||||||
|
Loading…
Reference in New Issue
Block a user