aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/server/server.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/core/server/server.service.ts')
-rw-r--r--client/src/app/core/server/server.service.ts18
1 files changed, 10 insertions, 8 deletions
diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts
index a804efd28..32a135203 100644
--- a/client/src/app/core/server/server.service.ts
+++ b/client/src/app/core/server/server.service.ts
@@ -2,14 +2,16 @@ import { Observable, of, Subject } from 'rxjs'
2import { first, map, share, shareReplay, switchMap, tap } from 'rxjs/operators' 2import { first, map, share, shareReplay, switchMap, tap } from 'rxjs/operators'
3import { HttpClient } from '@angular/common/http' 3import { HttpClient } from '@angular/common/http'
4import { Inject, Injectable, LOCALE_ID } from '@angular/core' 4import { Inject, Injectable, LOCALE_ID } from '@angular/core'
5import { getDevLocale, isOnDevLocale } from '@app/shared/i18n/i18n-utils' 5import { getDevLocale, isOnDevLocale, peertubeLocalStorage, sortBy } from '@app/helpers'
6import { peertubeLocalStorage } from '@app/shared/misc/peertube-web-storage' 6import {
7import { sortBy } from '@app/shared/misc/utils' 7 getCompleteLocale,
8import { SearchTargetType } from '@shared/models/search/search-target-query.model' 8 isDefaultLocale,
9import { ServerStats } from '@shared/models/server' 9 peertubeTranslate,
10import { getCompleteLocale, ServerConfig } from '../../../../../shared' 10 SearchTargetType,
11import { isDefaultLocale, peertubeTranslate } from '../../../../../shared/models/i18n' 11 ServerConfig,
12import { VideoConstant } from '../../../../../shared/models/videos' 12 ServerStats,
13 VideoConstant
14} from '@shared/models'
13import { environment } from '../../../environments/environment' 15import { environment } from '../../../environments/environment'
14 16
15@Injectable() 17@Injectable()