aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-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'