Skip to content

Commit

Permalink
fix(query): Ensure hsQueryWmsService is always available in the compo…
Browse files Browse the repository at this point in the history
…nent

Import hsQueryWmsService to the component so it is consistently accessible whenever the component is used.
  • Loading branch information
FilipLeitner committed Jun 25, 2024
1 parent 0e9710a commit 32af332
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions projects/hslayers/components/query/query.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {HsMapService} from 'hslayers-ng/services/map';
import {HsPanelBaseComponent} from 'hslayers-ng/common/panels';
import {HsQueryBaseService} from 'hslayers-ng/services/query';
import {HsQueryVectorService} from 'hslayers-ng/services/query';
import {HsQueryWmsService} from './query-wms.service';

@Component({
selector: 'hs-query',
Expand All @@ -35,6 +36,7 @@ export class HsQueryComponent
private hsLog: HsLogService,
private hsQueryVectorService: HsQueryVectorService,
private hsDrawService: HsDrawService,
private hsQueryWmsService: HsQueryWmsService,
) {
super();
}
Expand Down

0 comments on commit 32af332

Please sign in to comment.