diff options
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: [ |