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);
|
urlparts.push(queryState.itemCode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(urlparts.length>0) {
|
if(state[1]>0) {
|
||||||
this.router.navigate(urlparts);
|
if(urlparts.length>0) {
|
||||||
} else {
|
this.router.navigate(urlparts);
|
||||||
if(state[1]>0) this.replaceUrl(mapState, queryState,false);
|
} else {
|
||||||
}
|
this.replaceUrl(mapState, queryState,false);
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user