diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-15 10:10:41 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:51 +0100 |
commit | 51548b31815c6f96f314ae96588a9adca150519d (patch) | |
tree | b3298447b7ac128823016fdec92d083e07d9432e /client/src/app/+admin/admin.module.ts | |
parent | 350e31d6b64e4973dfa5e9f7b46841cb09aeb1ad (diff) | |
download | PeerTube-51548b31815c6f96f314ae96588a9adca150519d.tar.gz PeerTube-51548b31815c6f96f314ae96588a9adca150519d.tar.zst PeerTube-51548b31815c6f96f314ae96588a9adca150519d.zip |
Add follow tabs
Following
Follow
Followers
Diffstat (limited to 'client/src/app/+admin/admin.module.ts')
-rw-r--r-- | client/src/app/+admin/admin.module.ts | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/client/src/app/+admin/admin.module.ts b/client/src/app/+admin/admin.module.ts index 32f6c42a6..3c6b7a793 100644 --- a/client/src/app/+admin/admin.module.ts +++ b/client/src/app/+admin/admin.module.ts | |||
@@ -1,25 +1,28 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | 2 | import { TabsModule } from 'ngx-bootstrap/tabs' | |
3 | import { AdminComponent } from './admin.component' | 3 | import { SharedModule } from '../shared' |
4 | import { AdminRoutingModule } from './admin-routing.module' | 4 | import { AdminRoutingModule } from './admin-routing.module' |
5 | import { FriendsComponent, FriendAddComponent, FriendListComponent, FriendService } from './friends' | 5 | import { AdminComponent } from './admin.component' |
6 | import { UsersComponent, UserAddComponent, UserUpdateComponent, UserListComponent, UserService } from './users' | 6 | import { FollowersListComponent, FollowingAddComponent, FollowsComponent, FollowService } from './follows' |
7 | import { VideoAbusesComponent, VideoAbuseListComponent } from './video-abuses' | 7 | import { FollowingListComponent } from './follows/following-list/following-list.component' |
8 | import { UserAddComponent, UserListComponent, UsersComponent, UserService, UserUpdateComponent } from './users' | ||
9 | import { VideoAbuseListComponent, VideoAbusesComponent } from './video-abuses' | ||
8 | import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-blacklist' | 10 | import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-blacklist' |
9 | import { SharedModule } from '../shared' | ||
10 | 11 | ||
11 | @NgModule({ | 12 | @NgModule({ |
12 | imports: [ | 13 | imports: [ |
13 | AdminRoutingModule, | 14 | AdminRoutingModule, |
15 | TabsModule.forRoot(), | ||
14 | SharedModule | 16 | SharedModule |
15 | ], | 17 | ], |
16 | 18 | ||
17 | declarations: [ | 19 | declarations: [ |
18 | AdminComponent, | 20 | AdminComponent, |
19 | 21 | ||
20 | FriendsComponent, | 22 | FollowsComponent, |
21 | FriendAddComponent, | 23 | FollowingAddComponent, |
22 | FriendListComponent, | 24 | FollowersListComponent, |
25 | FollowingListComponent, | ||
23 | 26 | ||
24 | UsersComponent, | 27 | UsersComponent, |
25 | UserAddComponent, | 28 | UserAddComponent, |
@@ -38,7 +41,7 @@ import { SharedModule } from '../shared' | |||
38 | ], | 41 | ], |
39 | 42 | ||
40 | providers: [ | 43 | providers: [ |
41 | FriendService, | 44 | FollowService, |
42 | UserService | 45 | UserService |
43 | ] | 46 | ] |
44 | }) | 47 | }) |