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
@ -142,10 +142,6 @@ export class MapComponent implements OnInit, OnDestroy,AfterViewInit {
|
||||
urlparts.push('item');
|
||||
urlparts.push(queryState.itemCode);
|
||||
}
|
||||
if (itemType.viewer == "show_as_featurelist" ) {
|
||||
queryState.parentCode=queryState.itemCode;
|
||||
queryState.itemCode=null;
|
||||
}
|
||||
}
|
||||
if(urlparts.length>0) {
|
||||
this.router.navigate(urlparts);
|
||||
|
@ -104,12 +104,12 @@ export class AppCommonEffects {
|
||||
var itemType = itemtypes[a.item.itemType];
|
||||
var viewer = itemType.viewer;
|
||||
var editor = itemType.editor;
|
||||
if(viewer == 'select_as_mapitem' || viewer == 'show_as_featurelist') {
|
||||
if(viewer == 'select_as_mapitem') {
|
||||
let queryState = {
|
||||
itemCode: (viewer == 'show_as_featurelist')?null:a.item.code,
|
||||
parentCode: (viewer == 'show_as_featurelist')?a.item.code:null,
|
||||
itemCode: a.item.code,
|
||||
parentCode: null,
|
||||
level: 1,
|
||||
itemType: (viewer == 'show_as_featurelist')?a.item.itemType:null,
|
||||
itemType: null,
|
||||
bboxFilter: false,
|
||||
query: null,
|
||||
tags: null,
|
||||
|
Loading…
Reference in New Issue
Block a user