Add AppConfig parameter
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user