Skip to content

Commit

Permalink
fixup! geocat: add location filter in search & location input in home…
Browse files Browse the repository at this point in the history
… page
  • Loading branch information
jahow committed Nov 28, 2024
1 parent ba99759 commit 505f2ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
icon="matPinDropOutline"
[value]="currentLocation$ | async"
[minCharacterCount]="1"
[allowSubmit]="true"
></gn-ui-autocomplete>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import { map } from 'rxjs/operators'
import { SearchService } from '../utils/service/search.service'
import { CommonModule } from '@angular/common'
import { TranslateModule } from '@ngx-translate/core'
import { provideIcons } from '@ng-icons/core'
import { matPinDropOutline } from '@ng-icons/material-icons/outline'

@Component({
selector: 'gn-ui-location-search',
Expand All @@ -25,6 +27,7 @@ import { TranslateModule } from '@ngx-translate/core'
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [CommonModule, TranslateModule, AutocompleteComponent],
providers: [provideIcons({ matPinDropOutline })],
})
export class LocationSearchComponent {
// specific geocat
Expand Down

0 comments on commit 505f2ab

Please sign in to comment.