aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-31 16:37:37 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-10-31 16:37:37 +0100
commit7a8032bb6d1d2fdfce9b23af13c3ed1cdfac91e9 (patch)
tree80c7ff1d004e58915270f621f7293bdeb193abd0 /client/src
parent53abc4c272be9ecc951274458d054dbaf86e594d (diff)
downloadPeerTube-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.ts2
-rw-r--r--client/src/app/app.module.ts2
-rw-r--r--client/src/app/core/core.module.ts2
-rw-r--r--client/src/app/videos/shared/video.service.ts6
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'
5export abstract class UserEdit extends FormReactive { 5export 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})
50export class CoreModule { 50export 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 @@
1import { Injectable } from '@angular/core' 1import { Injectable } from '@angular/core'
2import { Observable } from 'rxjs/Observable' 2import { Observable } from 'rxjs/Observable'
3import { HttpClient, HttpParams, HttpRequest } from '@angular/common/http'
3import 'rxjs/add/operator/catch' 4import 'rxjs/add/operator/catch'
4import 'rxjs/add/operator/map' 5import 'rxjs/add/operator/map'
5import { HttpClient, HttpParams, HttpRequest } from '@angular/common/http'
6 6
7import { Search } from '../../shared'
8import { SortField } from './sort-field.type' 7import { SortField } from './sort-field.type'
9import { 8import {
10 RestExtractor, 9 RestExtractor,
11 RestService, 10 RestService,
12 UserService 11 UserService,
12 Search
13} from '../../shared' 13} from '../../shared'
14import { Video } from './video.model' 14import { Video } from './video.model'
15import { VideoDetails } from './video-details.model' 15import { VideoDetails } from './video-details.model'