Try to fix loop
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
85143986ee
commit
2b5bda2a44
@ -143,11 +143,13 @@ export class MapComponent implements OnInit, OnDestroy,AfterViewInit {
|
||||
urlparts.push(queryState.itemCode);
|
||||
}
|
||||
}
|
||||
if(urlparts.length>0) {
|
||||
this.router.navigate(urlparts);
|
||||
} else {
|
||||
if(state[1]>0) this.replaceUrl(mapState, queryState,false);
|
||||
}
|
||||
if(state[1]>0) {
|
||||
if(urlparts.length>0) {
|
||||
this.router.navigate(urlparts);
|
||||
} else {
|
||||
this.replaceUrl(mapState, queryState,false);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user