From 7a8032bb6d1d2fdfce9b23af13c3ed1cdfac91e9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 31 Oct 2017 16:37:37 +0100 Subject: Upgrade client dep --- client/src/app/+admin/users/user-edit/user-edit.ts | 2 +- client/src/app/app.module.ts | 2 +- client/src/app/core/core.module.ts | 2 +- client/src/app/videos/shared/video.service.ts | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'client/src/app') 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' export abstract class UserEdit extends FormReactive { videoQuotaOptions = [ { value: -1, label: 'Unlimited' }, - { value: 0, label: '0'}, + { value: 0, label: '0' }, { value: 100 * 1024 * 1024, label: '100MB' }, { value: 500 * 1024 * 1024, label: '500MB' }, { 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 { /** * Display new elements */ - store.disposeOldHosts () + store.disposeOldHosts() delete store.disposeOldHosts } } 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' ] }) export class CoreModule { - constructor ( @Optional() @SkipSelf() parentModule: CoreModule) { + constructor (@Optional() @SkipSelf() parentModule: CoreModule) { throwIfAlreadyLoaded(parentModule, 'CoreModule') } } 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 @@ import { Injectable } from '@angular/core' import { Observable } from 'rxjs/Observable' +import { HttpClient, HttpParams, HttpRequest } from '@angular/common/http' import 'rxjs/add/operator/catch' import 'rxjs/add/operator/map' -import { HttpClient, HttpParams, HttpRequest } from '@angular/common/http' -import { Search } from '../../shared' import { SortField } from './sort-field.type' import { RestExtractor, RestService, - UserService + UserService, + Search } from '../../shared' import { Video } from './video.model' import { VideoDetails } from './video-details.model' -- cgit v1.2.3