diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-12 09:52:08 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-12 09:52:08 +0200 |
commit | bcb0c8958fa624ce815a1e2ba1b0acda0bf6aaa8 (patch) | |
tree | be6e9a4bbb7d1aceb41d4796168bcbb4623a4a84 /client/src/app/core/core.module.ts | |
parent | c13e2bf340644a28012ac7ee3cf1d57763342baa (diff) | |
download | PeerTube-bcb0c8958fa624ce815a1e2ba1b0acda0bf6aaa8.tar.gz PeerTube-bcb0c8958fa624ce815a1e2ba1b0acda0bf6aaa8.tar.zst PeerTube-bcb0c8958fa624ce815a1e2ba1b0acda0bf6aaa8.zip |
Fix client build
Diffstat (limited to 'client/src/app/core/core.module.ts')
-rw-r--r-- | client/src/app/core/core.module.ts | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts index d4917f902..df2ec696d 100644 --- a/client/src/app/core/core.module.ts +++ b/client/src/app/core/core.module.ts | |||
@@ -15,6 +15,8 @@ import { throwIfAlreadyLoaded } from './module-import-guard' | |||
15 | import { LoginGuard, RedirectService, UserRightGuard } from './routing' | 15 | import { LoginGuard, RedirectService, UserRightGuard } from './routing' |
16 | import { ServerService } from './server' | 16 | import { ServerService } from './server' |
17 | import { ThemeService } from './theme' | 17 | import { ThemeService } from './theme' |
18 | import { HotkeyModule } from 'angular2-hotkeys' | ||
19 | import { CheatSheetComponent } from '@app/core/hotkeys' | ||
18 | 20 | ||
19 | @NgModule({ | 21 | @NgModule({ |
20 | imports: [ | 22 | imports: [ |
@@ -27,11 +29,16 @@ import { ThemeService } from './theme' | |||
27 | 29 | ||
28 | LoadingBarHttpClientModule, | 30 | LoadingBarHttpClientModule, |
29 | LoadingBarRouterModule, | 31 | LoadingBarRouterModule, |
30 | LoadingBarModule.forRoot() | 32 | LoadingBarModule.forRoot(), |
33 | |||
34 | HotkeyModule.forRoot({ | ||
35 | cheatSheetCloseEsc: true | ||
36 | }) | ||
31 | ], | 37 | ], |
32 | 38 | ||
33 | declarations: [ | 39 | declarations: [ |
34 | ConfirmComponent | 40 | ConfirmComponent, |
41 | CheatSheetComponent | ||
35 | ], | 42 | ], |
36 | 43 | ||
37 | exports: [ | 44 | exports: [ |
@@ -39,7 +46,8 @@ import { ThemeService } from './theme' | |||
39 | LoadingBarHttpClientModule, | 46 | LoadingBarHttpClientModule, |
40 | LoadingBarModule, | 47 | LoadingBarModule, |
41 | 48 | ||
42 | ConfirmComponent | 49 | ConfirmComponent, |
50 | CheatSheetComponent | ||
43 | ], | 51 | ], |
44 | 52 | ||
45 | providers: [ | 53 | providers: [ |