diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-31 16:37:37 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-31 16:37:37 +0100 |
commit | 7a8032bb6d1d2fdfce9b23af13c3ed1cdfac91e9 (patch) | |
tree | 80c7ff1d004e58915270f621f7293bdeb193abd0 /client/src | |
parent | 53abc4c272be9ecc951274458d054dbaf86e594d (diff) | |
download | PeerTube-7a8032bb6d1d2fdfce9b23af13c3ed1cdfac91e9.tar.gz PeerTube-7a8032bb6d1d2fdfce9b23af13c3ed1cdfac91e9.tar.zst PeerTube-7a8032bb6d1d2fdfce9b23af13c3ed1cdfac91e9.zip |
Upgrade client dep
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/+admin/users/user-edit/user-edit.ts | 2 | ||||
-rw-r--r-- | client/src/app/app.module.ts | 2 | ||||
-rw-r--r-- | client/src/app/core/core.module.ts | 2 | ||||
-rw-r--r-- | client/src/app/videos/shared/video.service.ts | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/client/src/app/+admin/users/user-edit/user-edit.ts b/client/src/app/+admin/users/user-edit/user-edit.ts index 51d90da39..2b47c685c 100644 --- a/client/src/app/+admin/users/user-edit/user-edit.ts +++ b/client/src/app/+admin/users/user-edit/user-edit.ts | |||
@@ -5,7 +5,7 @@ import { USER_ROLE_LABELS, VideoResolution } from '../../../../../../shared' | |||
5 | export abstract class UserEdit extends FormReactive { | 5 | export abstract class UserEdit extends FormReactive { |
6 | videoQuotaOptions = [ | 6 | videoQuotaOptions = [ |
7 | { value: -1, label: 'Unlimited' }, | 7 | { value: -1, label: 'Unlimited' }, |
8 | { value: 0, label: '0'}, | 8 | { value: 0, label: '0' }, |
9 | { value: 100 * 1024 * 1024, label: '100MB' }, | 9 | { value: 100 * 1024 * 1024, label: '100MB' }, |
10 | { value: 500 * 1024 * 1024, label: '500MB' }, | 10 | { value: 500 * 1024 * 1024, label: '500MB' }, |
11 | { value: 1024 * 1024 * 1024, label: '1GB' }, | 11 | { value: 1024 * 1024 * 1024, label: '1GB' }, |
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index 6aa56b8a7..e71641e0d 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts | |||
@@ -127,7 +127,7 @@ export class AppModule { | |||
127 | /** | 127 | /** |
128 | * Display new elements | 128 | * Display new elements |
129 | */ | 129 | */ |
130 | store.disposeOldHosts () | 130 | store.disposeOldHosts() |
131 | delete store.disposeOldHosts | 131 | delete store.disposeOldHosts |
132 | } | 132 | } |
133 | } | 133 | } |
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts index 90e2cb190..c4ce2b637 100644 --- a/client/src/app/core/core.module.ts +++ b/client/src/app/core/core.module.ts | |||
@@ -48,7 +48,7 @@ import { throwIfAlreadyLoaded } from './module-import-guard' | |||
48 | ] | 48 | ] |
49 | }) | 49 | }) |
50 | export class CoreModule { | 50 | export class CoreModule { |
51 | constructor ( @Optional() @SkipSelf() parentModule: CoreModule) { | 51 | constructor (@Optional() @SkipSelf() parentModule: CoreModule) { |
52 | throwIfAlreadyLoaded(parentModule, 'CoreModule') | 52 | throwIfAlreadyLoaded(parentModule, 'CoreModule') |
53 | } | 53 | } |
54 | } | 54 | } |
diff --git a/client/src/app/videos/shared/video.service.ts b/client/src/app/videos/shared/video.service.ts index 8459aa0d3..b1ab5f8b9 100644 --- a/client/src/app/videos/shared/video.service.ts +++ b/client/src/app/videos/shared/video.service.ts | |||
@@ -1,15 +1,15 @@ | |||
1 | import { Injectable } from '@angular/core' | 1 | import { Injectable } from '@angular/core' |
2 | import { Observable } from 'rxjs/Observable' | 2 | import { Observable } from 'rxjs/Observable' |
3 | import { HttpClient, HttpParams, HttpRequest } from '@angular/common/http' | ||
3 | import 'rxjs/add/operator/catch' | 4 | import 'rxjs/add/operator/catch' |
4 | import 'rxjs/add/operator/map' | 5 | import 'rxjs/add/operator/map' |
5 | import { HttpClient, HttpParams, HttpRequest } from '@angular/common/http' | ||
6 | 6 | ||
7 | import { Search } from '../../shared' | ||
8 | import { SortField } from './sort-field.type' | 7 | import { SortField } from './sort-field.type' |
9 | import { | 8 | import { |
10 | RestExtractor, | 9 | RestExtractor, |
11 | RestService, | 10 | RestService, |
12 | UserService | 11 | UserService, |
12 | Search | ||
13 | } from '../../shared' | 13 | } from '../../shared' |
14 | import { Video } from './video.model' | 14 | import { Video } from './video.model' |
15 | import { VideoDetails } from './video-details.model' | 15 | import { VideoDetails } from './video-details.model' |