aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared.module.ts')
-rw-r--r--client/src/app/shared/shared.module.ts13
1 files changed, 10 insertions, 3 deletions
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts
index a5c56cb46..d8f98bdf6 100644
--- a/client/src/app/shared/shared.module.ts
+++ b/client/src/app/shared/shared.module.ts
@@ -3,10 +3,13 @@ import { HttpClientModule } from '@angular/common/http'
3import { NgModule } from '@angular/core' 3import { NgModule } from '@angular/core'
4import { FormsModule, ReactiveFormsModule } from '@angular/forms' 4import { FormsModule, ReactiveFormsModule } from '@angular/forms'
5import { RouterModule } from '@angular/router' 5import { RouterModule } from '@angular/router'
6import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component'
7import { MarkdownService } from '@app/videos/shared'
6import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client' 8import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client'
7 9
8import { BsDropdownModule } from 'ngx-bootstrap/dropdown' 10import { BsDropdownModule } from 'ngx-bootstrap/dropdown'
9import { ModalModule } from 'ngx-bootstrap/modal' 11import { ModalModule } from 'ngx-bootstrap/modal'
12import { TabsModule } from 'ngx-bootstrap/tabs'
10import { InfiniteScrollModule } from 'ngx-infinite-scroll' 13import { InfiniteScrollModule } from 'ngx-infinite-scroll'
11import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' 14import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes'
12import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' 15import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared'
@@ -40,7 +43,8 @@ import { VideoService } from './video/video.service'
40 43
41 PrimeSharedModule, 44 PrimeSharedModule,
42 InfiniteScrollModule, 45 InfiniteScrollModule,
43 NgPipesModule 46 NgPipesModule,
47 TabsModule.forRoot()
44 ], 48 ],
45 49
46 declarations: [ 50 declarations: [
@@ -50,7 +54,8 @@ import { VideoService } from './video/video.service'
50 DeleteButtonComponent, 54 DeleteButtonComponent,
51 EditButtonComponent, 55 EditButtonComponent,
52 NumberFormatterPipe, 56 NumberFormatterPipe,
53 FromNowPipe 57 FromNowPipe,
58 MarkdownTextareaComponent
54 ], 59 ],
55 60
56 exports: [ 61 exports: [
@@ -74,6 +79,7 @@ import { VideoService } from './video/video.service'
74 VideoMiniatureComponent, 79 VideoMiniatureComponent,
75 DeleteButtonComponent, 80 DeleteButtonComponent,
76 EditButtonComponent, 81 EditButtonComponent,
82 MarkdownTextareaComponent,
77 83
78 NumberFormatterPipe, 84 NumberFormatterPipe,
79 FromNowPipe 85 FromNowPipe
@@ -86,7 +92,8 @@ import { VideoService } from './video/video.service'
86 VideoAbuseService, 92 VideoAbuseService,
87 VideoBlacklistService, 93 VideoBlacklistService,
88 UserService, 94 UserService,
89 VideoService 95 VideoService,
96 MarkdownService
90 ] 97 ]
91}) 98})
92export class SharedModule { } 99export class SharedModule { }