diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-16 17:24:47 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-16 17:24:47 +0100 |
commit | 68e24d727969a73a13e3c29b4d3bcfe50c3c52be (patch) | |
tree | 9908a5b6f26dfc0fd80aa123e843ea11f39c7501 /client/src/app/core | |
parent | 6de36768980ef6063b8fcd730b59fa685dd2b99c (diff) | |
download | PeerTube-68e24d727969a73a13e3c29b4d3bcfe50c3c52be.tar.gz PeerTube-68e24d727969a73a13e3c29b4d3bcfe50c3c52be.tar.zst PeerTube-68e24d727969a73a13e3c29b4d3bcfe50c3c52be.zip |
Add loading bar when updating a video
Diffstat (limited to 'client/src/app/core')
-rw-r--r-- | client/src/app/core/core.module.ts | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts index a58fe6ebe..93c9741a7 100644 --- a/client/src/app/core/core.module.ts +++ b/client/src/app/core/core.module.ts | |||
@@ -1,8 +1,9 @@ | |||
1 | import { NgModule, Optional, SkipSelf } from '@angular/core' | 1 | import { NgModule, Optional, SkipSelf } from '@angular/core' |
2 | import { CommonModule } from '@angular/common' | 2 | import { CommonModule } from '@angular/common' |
3 | import { HttpModule } from '@angular/http' | ||
4 | import { RouterModule } from '@angular/router' | 3 | import { RouterModule } from '@angular/router' |
5 | import { BrowserAnimationsModule } from '@angular/platform-browser/animations' | 4 | import { BrowserAnimationsModule } from '@angular/platform-browser/animations' |
5 | import { LoadingBarModule } from '@ngx-loading-bar/core' | ||
6 | import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client' | ||
6 | 7 | ||
7 | import { SimpleNotificationsModule } from 'angular2-notifications' | 8 | import { SimpleNotificationsModule } from 'angular2-notifications' |
8 | import { ModalModule } from 'ngx-bootstrap/modal' | 9 | import { ModalModule } from 'ngx-bootstrap/modal' |
@@ -16,12 +17,14 @@ import { throwIfAlreadyLoaded } from './module-import-guard' | |||
16 | @NgModule({ | 17 | @NgModule({ |
17 | imports: [ | 18 | imports: [ |
18 | CommonModule, | 19 | CommonModule, |
19 | HttpModule, | ||
20 | RouterModule, | 20 | RouterModule, |
21 | BrowserAnimationsModule, | 21 | BrowserAnimationsModule, |
22 | 22 | ||
23 | ModalModule, | 23 | ModalModule, |
24 | SimpleNotificationsModule.forRoot() | 24 | SimpleNotificationsModule.forRoot(), |
25 | |||
26 | LoadingBarHttpClientModule, | ||
27 | LoadingBarModule.forRoot() | ||
25 | ], | 28 | ], |
26 | 29 | ||
27 | declarations: [ | 30 | declarations: [ |
@@ -30,6 +33,8 @@ import { throwIfAlreadyLoaded } from './module-import-guard' | |||
30 | 33 | ||
31 | exports: [ | 34 | exports: [ |
32 | SimpleNotificationsModule, | 35 | SimpleNotificationsModule, |
36 | LoadingBarHttpClientModule, | ||
37 | LoadingBarModule, | ||
33 | 38 | ||
34 | ConfirmComponent | 39 | ConfirmComponent |
35 | ], | 40 | ], |