aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-16 17:24:47 +0100
committerChocobozzz <me@florianbigard.com>2018-02-16 17:24:47 +0100
commit68e24d727969a73a13e3c29b4d3bcfe50c3c52be (patch)
tree9908a5b6f26dfc0fd80aa123e843ea11f39c7501 /client/src/app/core
parent6de36768980ef6063b8fcd730b59fa685dd2b99c (diff)
downloadPeerTube-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.ts11
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 @@
1import { NgModule, Optional, SkipSelf } from '@angular/core' 1import { NgModule, Optional, SkipSelf } from '@angular/core'
2import { CommonModule } from '@angular/common' 2import { CommonModule } from '@angular/common'
3import { HttpModule } from '@angular/http'
4import { RouterModule } from '@angular/router' 3import { RouterModule } from '@angular/router'
5import { BrowserAnimationsModule } from '@angular/platform-browser/animations' 4import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
5import { LoadingBarModule } from '@ngx-loading-bar/core'
6import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client'
6 7
7import { SimpleNotificationsModule } from 'angular2-notifications' 8import { SimpleNotificationsModule } from 'angular2-notifications'
8import { ModalModule } from 'ngx-bootstrap/modal' 9import { 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 ],