Add AppConfig parameter
This commit is contained in:
@@ -9,8 +9,9 @@ export class ItemTypeService {
|
||||
public itemTypes: IItemTypes;
|
||||
private httpClient: HttpClient;
|
||||
|
||||
constructor(xhrBackend: HttpXhrBackend) {
|
||||
constructor(xhrBackend: HttpXhrBackend,appConfig:AppConfig) {
|
||||
this.httpClient = new HttpClient(xhrBackend);
|
||||
this.load(appConfig)
|
||||
}
|
||||
|
||||
getIcon(itemType: string) {
|
||||
|
||||
Reference in New Issue
Block a user