------------------------------------------------------------------------------
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

Building entry point '@farmmaps/common-map'
------------------------------------------------------------------------------
- Compiling with Angular sources in Ivy partial compilation mode.
Processing legacy "View Engine" libraries:
- ngx-openlayers [es2015/esm2015] ()
Encourage the library authors to publish an Ivy distribution.
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
✖ Compiling with Angular sources in Ivy partial compilation mode.
projects/common-map/src/fm-map/components/map/map.component.ts:371:83 - error TS2339: Property 'replaceUrl' does not exist on type '{ mapState: IMapState; queryState: IQueryState; }'.

371           this.replaceUrl(newUrlState.mapState,newUrlState.queryState,newUrlState.replaceUrl);
This commit is contained in:
Peter Bastiani 2023-08-22 18:55:16 +02:00
parent 652ddc0cdc
commit 45537cb2e9

View File

@ -365,7 +365,7 @@ export class MapComponent implements OnInit, OnDestroy,AfterViewInit {
else {
return of(null);
}
})).subscribe((newUrlState) =>{
})).subscribe((newUrlState: any) => {
if(newUrlState) {
//console.debug(`State to url`);
this.replaceUrl(newUrlState.mapState,newUrlState.queryState,newUrlState.replaceUrl);