Skip to content

Commit

Permalink
chore(fields.service): Change private fields and
Browse files Browse the repository at this point in the history
private injectore to protected in order to be able
to extend the class
  • Loading branch information
Angi-Kinas committed May 22, 2024
1 parent 9f0464a commit a2e3acc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/feature/search/src/lib/utils/service/fields.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ marker('search.filters.contact')
providedIn: 'root',
})
export class FieldsService {
private fields = {
protected fields = {
publisher: new OrganizationSearchField(this.injector),
format: new SimpleSearchField('format', this.injector, 'asc'),
resourceType: new TranslatedSearchField(
Expand Down Expand Up @@ -76,7 +76,7 @@ export class FieldsService {
return Object.keys(this.fields)
}

constructor(private injector: Injector) {}
constructor(protected injector: Injector) {}

getAvailableValues(fieldName: string) {
if (this.supportedFields.indexOf(fieldName) === -1)
Expand Down

0 comments on commit a2e3acc

Please sign in to comment.