diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-13 11:29:55 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-13 11:29:55 +0100 |
commit | 6d0110ad7ba46fc115f24a7cc15a71c5ad186ed1 (patch) | |
tree | 60d359816bbc785acdb3a31b4d1ea93be0001ca5 /client/src/app/shared | |
parent | 0e4ca570fa33105456f0e4650342374c1658d5f4 (diff) | |
download | PeerTube-6d0110ad7ba46fc115f24a7cc15a71c5ad186ed1.tar.gz PeerTube-6d0110ad7ba46fc115f24a7cc15a71c5ad186ed1.tar.zst PeerTube-6d0110ad7ba46fc115f24a7cc15a71c5ad186ed1.zip |
Fix loading bar for HTTP requests
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-main/shared-main.module.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-main/shared-main.module.ts b/client/src/app/shared/shared-main/shared-main.module.ts index 74bb4559a..123b5a3e3 100644 --- a/client/src/app/shared/shared-main/shared-main.module.ts +++ b/client/src/app/shared/shared-main/shared-main.module.ts | |||
@@ -13,6 +13,8 @@ import { | |||
13 | NgbPopoverModule, | 13 | NgbPopoverModule, |
14 | NgbTooltipModule | 14 | NgbTooltipModule |
15 | } from '@ng-bootstrap/ng-bootstrap' | 15 | } from '@ng-bootstrap/ng-bootstrap' |
16 | import { LoadingBarModule } from '@ngx-loading-bar/core' | ||
17 | import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client' | ||
16 | import { SharedGlobalIconModule } from '../shared-icons' | 18 | import { SharedGlobalIconModule } from '../shared-icons' |
17 | import { AccountService, ActorAvatarInfoComponent, VideoAvatarChannelComponent } from './account' | 19 | import { AccountService, ActorAvatarInfoComponent, VideoAvatarChannelComponent } from './account' |
18 | import { | 20 | import { |
@@ -42,6 +44,9 @@ import { VideoChannelService } from './video-channel' | |||
42 | RouterModule, | 44 | RouterModule, |
43 | HttpClientModule, | 45 | HttpClientModule, |
44 | 46 | ||
47 | LoadingBarHttpClientModule, | ||
48 | LoadingBarModule, | ||
49 | |||
45 | NgbDropdownModule, | 50 | NgbDropdownModule, |
46 | NgbModalModule, | 51 | NgbModalModule, |
47 | NgbPopoverModule, | 52 | NgbPopoverModule, |
@@ -95,6 +100,9 @@ import { VideoChannelService } from './video-channel' | |||
95 | RouterModule, | 100 | RouterModule, |
96 | HttpClientModule, | 101 | HttpClientModule, |
97 | 102 | ||
103 | LoadingBarHttpClientModule, | ||
104 | LoadingBarModule, | ||
105 | |||
98 | NgbDropdownModule, | 106 | NgbDropdownModule, |
99 | NgbModalModule, | 107 | NgbModalModule, |
100 | NgbPopoverModule, | 108 | NgbPopoverModule, |