aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/app.module.ts')
-rw-r--r--client/src/app/app.module.ts12
1 files changed, 2 insertions, 10 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts
index 7fbc6463b..c6e9d7315 100644
--- a/client/src/app/app.module.ts
+++ b/client/src/app/app.module.ts
@@ -4,15 +4,13 @@ import { LOCALE_ID, NgModule, TRANSLATIONS, TRANSLATIONS_FORMAT } from '@angular
4import { BrowserModule } from '@angular/platform-browser' 4import { BrowserModule } from '@angular/platform-browser'
5import { ServerService } from '@app/core' 5import { ServerService } from '@app/core'
6import localeOc from '@app/helpers/locales/oc' 6import localeOc from '@app/helpers/locales/oc'
7import { ResetPasswordModule } from '@app/reset-password'
8import { SearchModule } from '@app/search'
9import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core' 7import { MetaLoader, MetaModule, MetaStaticLoader, PageTitlePositioning } from '@ngx-meta/core'
10import { buildFileLocale, getCompleteLocale, isDefaultLocale } from '@shared/models' 8import { buildFileLocale, getCompleteLocale, isDefaultLocale } from '@shared/models'
11import { AppRoutingModule } from './app-routing.module' 9import { AppRoutingModule } from './app-routing.module'
12import { AppComponent } from './app.component' 10import { AppComponent } from './app.component'
13import { CoreModule } from './core' 11import { CoreModule } from './core'
14import { HeaderComponent, SearchTypeaheadComponent, SuggestionComponent } from './header' 12import { HeaderComponent, SearchTypeaheadComponent, SuggestionComponent } from './header'
15import { LoginModule } from './login' 13import { HighlightPipe } from './header/highlight.pipe'
16import { AvatarNotificationComponent, LanguageChooserComponent, MenuComponent } from './menu' 14import { AvatarNotificationComponent, LanguageChooserComponent, MenuComponent } from './menu'
17import { ConfirmComponent } from './modal/confirm.component' 15import { ConfirmComponent } from './modal/confirm.component'
18import { CustomModalComponent } from './modal/custom-modal.component' 16import { CustomModalComponent } from './modal/custom-modal.component'
@@ -24,7 +22,6 @@ import { SharedGlobalIconModule } from './shared/shared-icons'
24import { SharedInstanceModule } from './shared/shared-instance' 22import { SharedInstanceModule } from './shared/shared-instance'
25import { SharedMainModule } from './shared/shared-main' 23import { SharedMainModule } from './shared/shared-main'
26import { SharedUserInterfaceSettingsModule } from './shared/shared-user-settings' 24import { SharedUserInterfaceSettingsModule } from './shared/shared-user-settings'
27import { VideosModule } from './videos'
28 25
29registerLocaleData(localeOc, 'oc') 26registerLocaleData(localeOc, 'oc')
30 27
@@ -41,6 +38,7 @@ registerLocaleData(localeOc, 'oc')
41 HeaderComponent, 38 HeaderComponent,
42 SearchTypeaheadComponent, 39 SearchTypeaheadComponent,
43 SuggestionComponent, 40 SuggestionComponent,
41 HighlightPipe,
44 42
45 CustomModalComponent, 43 CustomModalComponent,
46 WelcomeModalComponent, 44 WelcomeModalComponent,
@@ -58,12 +56,6 @@ registerLocaleData(localeOc, 'oc')
58 SharedGlobalIconModule, 56 SharedGlobalIconModule,
59 SharedInstanceModule, 57 SharedInstanceModule,
60 58
61 LoginModule,
62 ResetPasswordModule,
63 SearchModule,
64
65 VideosModule,
66
67 MetaModule.forRoot({ 59 MetaModule.forRoot({
68 provide: MetaLoader, 60 provide: MetaLoader,
69 useFactory: (serverService: ServerService) => { 61 useFactory: (serverService: ServerService) => {