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 | |
parent | bfb3a98fac582f104c6d9b8b7242ea2cbb650b91 (diff) | |
download | PeerTube-3523b64a03d677c2f8df61c121ff4fcb1d9db7f9.tar.gz PeerTube-3523b64a03d677c2f8df61c121ff4fcb1d9db7f9.tar.zst PeerTube-3523b64a03d677c2f8df61c121ff4fcb1d9db7f9.zip |
Optimize imports
Diffstat (limited to 'client/src')
7 files changed, 9 insertions, 7 deletions
diff --git a/client/src/app/+admin/users/shared/user.service.ts b/client/src/app/+admin/users/shared/user.service.ts index a4b89bf1d..e4bd5df37 100644 --- a/client/src/app/+admin/users/shared/user.service.ts +++ b/client/src/app/+admin/users/shared/user.service.ts | |||
@@ -4,7 +4,7 @@ import { Observable } from 'rxjs/Observable' | |||
4 | import 'rxjs/add/operator/catch' | 4 | import 'rxjs/add/operator/catch' |
5 | import 'rxjs/add/operator/map' | 5 | import 'rxjs/add/operator/map' |
6 | 6 | ||
7 | import { SortMeta } from 'primeng/primeng' | 7 | import { SortMeta } from 'primeng/components/common/sortmeta' |
8 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe' | 8 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe' |
9 | 9 | ||
10 | import { RestExtractor, User, RestPagination, RestService } from '../../../shared' | 10 | import { RestExtractor, User, RestPagination, RestService } from '../../../shared' |
diff --git a/client/src/app/+admin/users/user-list/user-list.component.ts b/client/src/app/+admin/users/user-list/user-list.component.ts index 73b5c0ce9..6debf89be 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/users/user-list/user-list.component.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | 1 | import { Component, OnInit } from '@angular/core' |
2 | import { SortMeta } from 'primeng/primeng' | 2 | import { SortMeta } from 'primeng/components/common/sortmeta' |
3 | 3 | ||
4 | import { NotificationsService } from 'angular2-notifications' | 4 | import { NotificationsService } from 'angular2-notifications' |
5 | 5 | ||
diff --git a/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts b/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts index 92de11f0e..654603d01 100644 --- a/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts +++ b/client/src/app/+admin/video-abuses/video-abuse-list/video-abuse-list.component.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | 1 | import { Component, OnInit } from '@angular/core' |
2 | 2 | ||
3 | import { NotificationsService } from 'angular2-notifications' | 3 | import { NotificationsService } from 'angular2-notifications' |
4 | import { SortMeta } from 'primeng/primeng' | 4 | import { SortMeta } from 'primeng/components/common/sortmeta' |
5 | 5 | ||
6 | import { RestTable, RestPagination, VideoAbuseService } from '../../../shared' | 6 | import { RestTable, RestPagination, VideoAbuseService } from '../../../shared' |
7 | import { VideoAbuse } from '../../../../../../shared' | 7 | import { VideoAbuse } from '../../../../../../shared' |
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' |