diff options
Diffstat (limited to 'client/src/app/app.module.ts')
-rw-r--r-- | client/src/app/app.module.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index 7e4fac730..9339865f1 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts | |||
@@ -12,13 +12,14 @@ import { CoreModule, PluginService, RedirectService, ServerService } from './cor | |||
12 | import { EmptyComponent } from './empty.component' | 12 | import { EmptyComponent } from './empty.component' |
13 | import { HeaderComponent, SearchTypeaheadComponent, SuggestionComponent } from './header' | 13 | import { HeaderComponent, SearchTypeaheadComponent, SuggestionComponent } from './header' |
14 | import { HighlightPipe } from './header/highlight.pipe' | 14 | import { HighlightPipe } from './header/highlight.pipe' |
15 | import { polyfillICU } from './helpers' | ||
15 | import { LanguageChooserComponent, MenuComponent, NotificationComponent } from './menu' | 16 | import { LanguageChooserComponent, MenuComponent, NotificationComponent } from './menu' |
17 | import { AccountSetupWarningModalComponent } from './modal/account-setup-warning-modal.component' | ||
18 | import { AdminWelcomeModalComponent } from './modal/admin-welcome-modal.component' | ||
16 | import { ConfirmComponent } from './modal/confirm.component' | 19 | import { ConfirmComponent } from './modal/confirm.component' |
17 | import { CustomModalComponent } from './modal/custom-modal.component' | 20 | import { CustomModalComponent } from './modal/custom-modal.component' |
18 | import { InstanceConfigWarningModalComponent } from './modal/instance-config-warning-modal.component' | 21 | import { InstanceConfigWarningModalComponent } from './modal/instance-config-warning-modal.component' |
19 | import { QuickSettingsModalComponent } from './modal/quick-settings-modal.component' | 22 | import { QuickSettingsModalComponent } from './modal/quick-settings-modal.component' |
20 | import { AdminWelcomeModalComponent } from './modal/admin-welcome-modal.component' | ||
21 | import { AccountSetupWarningModalComponent } from './modal/account-setup-warning-modal.component' | ||
22 | import { SharedActorImageModule } from './shared/shared-actor-image/shared-actor-image.module' | 23 | import { SharedActorImageModule } from './shared/shared-actor-image/shared-actor-image.module' |
23 | import { SharedFormModule } from './shared/shared-forms' | 24 | import { SharedFormModule } from './shared/shared-forms' |
24 | import { SharedGlobalIconModule } from './shared/shared-icons' | 25 | import { SharedGlobalIconModule } from './shared/shared-icons' |
@@ -90,6 +91,11 @@ export function loadConfigFactory (server: ServerService, pluginService: PluginS | |||
90 | useFactory: loadConfigFactory, | 91 | useFactory: loadConfigFactory, |
91 | deps: [ ServerService, PluginService, RedirectService ], | 92 | deps: [ ServerService, PluginService, RedirectService ], |
92 | multi: true | 93 | multi: true |
94 | }, | ||
95 | { | ||
96 | provide: APP_INITIALIZER, | ||
97 | useFactory: () => polyfillICU, | ||
98 | multi: true | ||
93 | } | 99 | } |
94 | ] | 100 | ] |
95 | }) | 101 | }) |