diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-27 16:14:11 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-27 16:14:11 +0100 |
commit | 7ddd02c9b8c1e088f6679a2227f105e6439fc992 (patch) | |
tree | a1ff7af17f2a95abe85a2380834957e44032e8c2 /client/src/app/core/core.module.ts | |
parent | cddadde81f91219204cec1f4057a191c02a70894 (diff) | |
download | PeerTube-7ddd02c9b8c1e088f6679a2227f105e6439fc992.tar.gz PeerTube-7ddd02c9b8c1e088f6679a2227f105e6439fc992.tar.zst PeerTube-7ddd02c9b8c1e088f6679a2227f105e6439fc992.zip |
Client: better notifications for a beautiful world
Diffstat (limited to 'client/src/app/core/core.module.ts')
-rw-r--r-- | client/src/app/core/core.module.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts index 09a6f92f5..48fec2d43 100644 --- a/client/src/app/core/core.module.ts +++ b/client/src/app/core/core.module.ts | |||
@@ -3,6 +3,8 @@ import { CommonModule } from '@angular/common'; | |||
3 | import { HttpModule } from '@angular/http'; | 3 | import { HttpModule } from '@angular/http'; |
4 | import { RouterModule } from '@angular/router'; | 4 | import { RouterModule } from '@angular/router'; |
5 | 5 | ||
6 | import { SimpleNotificationsModule } from 'angular2-notifications'; | ||
7 | |||
6 | import { AuthService } from './auth'; | 8 | import { AuthService } from './auth'; |
7 | import { MenuComponent, MenuAdminComponent } from './menu'; | 9 | import { MenuComponent, MenuAdminComponent } from './menu'; |
8 | import { throwIfAlreadyLoaded } from './module-import-guard'; | 10 | import { throwIfAlreadyLoaded } from './module-import-guard'; |
@@ -11,13 +13,17 @@ import { throwIfAlreadyLoaded } from './module-import-guard'; | |||
11 | imports: [ | 13 | imports: [ |
12 | CommonModule, | 14 | CommonModule, |
13 | HttpModule, | 15 | HttpModule, |
14 | RouterModule | 16 | RouterModule, |
17 | |||
18 | SimpleNotificationsModule | ||
15 | ], | 19 | ], |
16 | declarations: [ | 20 | declarations: [ |
17 | MenuComponent, | 21 | MenuComponent, |
18 | MenuAdminComponent | 22 | MenuAdminComponent |
19 | ], | 23 | ], |
20 | exports: [ | 24 | exports: [ |
25 | SimpleNotificationsModule, | ||
26 | |||
21 | MenuComponent, | 27 | MenuComponent, |
22 | MenuAdminComponent | 28 | MenuAdminComponent |
23 | ], | 29 | ], |