Add AppConfig parameter

This commit is contained in:
Willem Dantuma
2026-03-26 12:18:12 +01:00
parent 3c99855c31
commit 9d743eddea

View File

@@ -9,8 +9,9 @@ export class ItemTypeService {
public itemTypes: IItemTypes; public itemTypes: IItemTypes;
private httpClient: HttpClient; private httpClient: HttpClient;
constructor(xhrBackend: HttpXhrBackend) { constructor(xhrBackend: HttpXhrBackend,appConfig:AppConfig) {
this.httpClient = new HttpClient(xhrBackend); this.httpClient = new HttpClient(xhrBackend);
this.load(appConfig)
} }
getIcon(itemType: string) { getIcon(itemType: string) {