mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
remove providers from Coremodule to avoid double loading api-service (#4267)
This commit is contained in:
@@ -208,16 +208,6 @@ export class CoreModuleLazy {
|
|||||||
TemplateModule,
|
TemplateModule,
|
||||||
SortingPickerModule,
|
SortingPickerModule,
|
||||||
IconModule
|
IconModule
|
||||||
],
|
|
||||||
providers: [
|
|
||||||
{
|
|
||||||
provide: APP_INITIALIZER,
|
|
||||||
useFactory: startupServiceFactory,
|
|
||||||
deps: [
|
|
||||||
AlfrescoApiService
|
|
||||||
],
|
|
||||||
multi: true
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class CoreModule {
|
export class CoreModule {
|
||||||
|
Reference in New Issue
Block a user