diff options
Diffstat (limited to 'client/src/app/shared/shared.module.ts')
-rw-r--r-- | client/src/app/shared/shared.module.ts | 13 |
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' | |||
3 | import { NgModule } from '@angular/core' | 3 | import { NgModule } from '@angular/core' |
4 | import { FormsModule, ReactiveFormsModule } from '@angular/forms' | 4 | import { FormsModule, ReactiveFormsModule } from '@angular/forms' |
5 | import { RouterModule } from '@angular/router' | 5 | import { RouterModule } from '@angular/router' |
6 | import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component' | ||
7 | import { MarkdownService } from '@app/videos/shared' | ||
6 | import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client' | 8 | import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client' |
7 | 9 | ||
8 | import { BsDropdownModule } from 'ngx-bootstrap/dropdown' | 10 | import { BsDropdownModule } from 'ngx-bootstrap/dropdown' |
9 | import { ModalModule } from 'ngx-bootstrap/modal' | 11 | import { ModalModule } from 'ngx-bootstrap/modal' |
12 | import { TabsModule } from 'ngx-bootstrap/tabs' | ||
10 | import { InfiniteScrollModule } from 'ngx-infinite-scroll' | 13 | import { InfiniteScrollModule } from 'ngx-infinite-scroll' |
11 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' | 14 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' |
12 | import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' | 15 | import { 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 | }) |
92 | export class SharedModule { } | 99 | export class SharedModule { } |