diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-14 22:16:39 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-14 22:16:39 +0200 |
commit | 3523b64a03d677c2f8df61c121ff4fcb1d9db7f9 (patch) | |
tree | 37bfd6c76f02f2707b71b21a4e69ca3d212a26a0 /client/src/app/shared | |
parent | bfb3a98fac582f104c6d9b8b7242ea2cbb650b91 (diff) | |
download | PeerTube-3523b64a03d677c2f8df61c121ff4fcb1d9db7f9.tar.gz PeerTube-3523b64a03d677c2f8df61c121ff4fcb1d9db7f9.tar.zst PeerTube-3523b64a03d677c2f8df61c121ff4fcb1d9db7f9.zip |
Optimize imports
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/rest/rest-table.ts | 3 | ||||
-rw-r--r-- | client/src/app/shared/rest/rest.service.ts | 2 | ||||
-rw-r--r-- | client/src/app/shared/shared.module.ts | 3 | ||||
-rw-r--r-- | client/src/app/shared/video-abuse/video-abuse.service.ts | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/client/src/app/shared/rest/rest-table.ts b/client/src/app/shared/rest/rest-table.ts index db2cb5e14..d04d91c68 100644 --- a/client/src/app/shared/rest/rest-table.ts +++ b/client/src/app/shared/rest/rest-table.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | import { LazyLoadEvent, SortMeta } from 'primeng/primeng' | 1 | import { LazyLoadEvent } from 'primeng/components/common/lazyloadevent' |
2 | import { SortMeta } from 'primeng/components/common/sortmeta' | ||
2 | 3 | ||
3 | import { RestPagination } from './rest-pagination' | 4 | import { RestPagination } from './rest-pagination' |
4 | 5 | ||
diff --git a/client/src/app/shared/rest/rest.service.ts b/client/src/app/shared/rest/rest.service.ts index f7838ba06..a1c301050 100644 --- a/client/src/app/shared/rest/rest.service.ts +++ b/client/src/app/shared/rest/rest.service.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Injectable } from '@angular/core' | 1 | import { Injectable } from '@angular/core' |
2 | import { HttpParams } from '@angular/common/http' | 2 | import { HttpParams } from '@angular/common/http' |
3 | import { SortMeta } from 'primeng/primeng' | 3 | import { SortMeta } from 'primeng/components/common/sortmeta' |
4 | 4 | ||
5 | import { RestPagination } from './rest-pagination' | 5 | import { RestPagination } from './rest-pagination' |
6 | 6 | ||
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index a28ac322d..56da62fc4 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts | |||
@@ -10,7 +10,8 @@ import { BsDropdownModule } from 'ngx-bootstrap/dropdown' | |||
10 | import { ProgressbarModule } from 'ngx-bootstrap/progressbar' | 10 | import { ProgressbarModule } from 'ngx-bootstrap/progressbar' |
11 | import { PaginationModule } from 'ngx-bootstrap/pagination' | 11 | import { PaginationModule } from 'ngx-bootstrap/pagination' |
12 | import { ModalModule } from 'ngx-bootstrap/modal' | 12 | import { ModalModule } from 'ngx-bootstrap/modal' |
13 | import { DataTableModule, SharedModule as PrimeSharedModule } from 'primeng/primeng' | 13 | import { DataTableModule } from 'primeng/components/datatable/datatable' |
14 | import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' | ||
14 | 15 | ||
15 | import { AUTH_INTERCEPTOR_PROVIDER } from './auth' | 16 | import { AUTH_INTERCEPTOR_PROVIDER } from './auth' |
16 | import { RestExtractor, RestService } from './rest' | 17 | import { RestExtractor, RestService } from './rest' |
diff --git a/client/src/app/shared/video-abuse/video-abuse.service.ts b/client/src/app/shared/video-abuse/video-abuse.service.ts index 984581114..8d979de31 100644 --- a/client/src/app/shared/video-abuse/video-abuse.service.ts +++ b/client/src/app/shared/video-abuse/video-abuse.service.ts | |||
@@ -4,7 +4,7 @@ import 'rxjs/add/operator/catch' | |||
4 | import 'rxjs/add/operator/map' | 4 | import 'rxjs/add/operator/map' |
5 | import { Observable } from 'rxjs/Observable' | 5 | import { Observable } from 'rxjs/Observable' |
6 | 6 | ||
7 | import { SortMeta } from 'primeng/primeng' | 7 | import { SortMeta } from 'primeng/components/common/sortmeta' |
8 | 8 | ||
9 | import { AuthService } from '../core' | 9 | import { AuthService } from '../core' |
10 | import { RestExtractor, RestPagination, RestService } from '../rest' | 10 | import { RestExtractor, RestPagination, RestService } from '../rest' |