From 51548b31815c6f96f314ae96588a9adca150519d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 15 Nov 2017 10:10:41 +0100 Subject: Add follow tabs Following Follow Followers --- client/src/app/+admin/admin.module.ts | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'client/src/app/+admin/admin.module.ts') 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 @@ import { NgModule } from '@angular/core' - -import { AdminComponent } from './admin.component' +import { TabsModule } from 'ngx-bootstrap/tabs' +import { SharedModule } from '../shared' import { AdminRoutingModule } from './admin-routing.module' -import { FriendsComponent, FriendAddComponent, FriendListComponent, FriendService } from './friends' -import { UsersComponent, UserAddComponent, UserUpdateComponent, UserListComponent, UserService } from './users' -import { VideoAbusesComponent, VideoAbuseListComponent } from './video-abuses' +import { AdminComponent } from './admin.component' +import { FollowersListComponent, FollowingAddComponent, FollowsComponent, FollowService } from './follows' +import { FollowingListComponent } from './follows/following-list/following-list.component' +import { UserAddComponent, UserListComponent, UsersComponent, UserService, UserUpdateComponent } from './users' +import { VideoAbuseListComponent, VideoAbusesComponent } from './video-abuses' import { VideoBlacklistComponent, VideoBlacklistListComponent } from './video-blacklist' -import { SharedModule } from '../shared' @NgModule({ imports: [ AdminRoutingModule, + TabsModule.forRoot(), SharedModule ], declarations: [ AdminComponent, - FriendsComponent, - FriendAddComponent, - FriendListComponent, + FollowsComponent, + FollowingAddComponent, + FollowersListComponent, + FollowingListComponent, UsersComponent, UserAddComponent, @@ -38,7 +41,7 @@ import { SharedModule } from '../shared' ], providers: [ - FriendService, + FollowService, UserService ] }) -- cgit v1.2.3