MOBILE-3068 login: Fix no component factory found for CoreLoginSitesPage

main
Dani Palou 2019-08-22 16:40:55 +02:00
parent adf30321f8
commit aa9e52d0f2
2 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,7 @@
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { CoreLoginHelperProvider } from './providers/helper'; import { CoreLoginHelperProvider } from './providers/helper';
import { CoreLoginSitesPageModule } from './pages/sites/sites.module';
// List of providers. // List of providers.
export const CORE_LOGIN_PROVIDERS = [ export const CORE_LOGIN_PROVIDERS = [
@ -24,6 +25,7 @@ export const CORE_LOGIN_PROVIDERS = [
declarations: [ declarations: [
], ],
imports: [ imports: [
CoreLoginSitesPageModule
], ],
providers: CORE_LOGIN_PROVIDERS providers: CORE_LOGIN_PROVIDERS
}) })

View File

@ -27,5 +27,8 @@ import { CoreDirectivesModule } from '@directives/directives.module';
IonicPageModule.forChild(CoreLoginSitesPage), IonicPageModule.forChild(CoreLoginSitesPage),
TranslateModule.forChild() TranslateModule.forChild()
], ],
entryComponents: [
CoreLoginSitesPage
]
}) })
export class CoreLoginSitesPageModule {} export class CoreLoginSitesPageModule {}