diff options
Diffstat (limited to 'client/src/app/+my-library/my-library-routing.module.ts')
-rw-r--r-- | client/src/app/+my-library/my-library-routing.module.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/client/src/app/+my-library/my-library-routing.module.ts b/client/src/app/+my-library/my-library-routing.module.ts index 76894bed8..73858fb82 100644 --- a/client/src/app/+my-library/my-library-routing.module.ts +++ b/client/src/app/+my-library/my-library-routing.module.ts | |||
@@ -1,10 +1,11 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | 2 | import { RouterModule, Routes } from '@angular/router' |
3 | import { LoginGuard } from '../core' | 3 | import { LoginGuard } from '../core' |
4 | import { MyFollowersComponent } from './my-follows/my-followers.component' | ||
5 | import { MySubscriptionsComponent } from './my-follows/my-subscriptions.component' | ||
4 | import { MyHistoryComponent } from './my-history/my-history.component' | 6 | import { MyHistoryComponent } from './my-history/my-history.component' |
5 | import { MyLibraryComponent } from './my-library.component' | 7 | import { MyLibraryComponent } from './my-library.component' |
6 | import { MyOwnershipComponent } from './my-ownership/my-ownership.component' | 8 | import { MyOwnershipComponent } from './my-ownership/my-ownership.component' |
7 | import { MySubscriptionsComponent } from './my-subscriptions/my-subscriptions.component' | ||
8 | import { MyVideoImportsComponent } from './my-video-imports/my-video-imports.component' | 9 | import { MyVideoImportsComponent } from './my-video-imports/my-video-imports.component' |
9 | import { MyVideoPlaylistCreateComponent } from './my-video-playlists/my-video-playlist-create.component' | 10 | import { MyVideoPlaylistCreateComponent } from './my-video-playlists/my-video-playlist-create.component' |
10 | import { MyVideoPlaylistElementsComponent } from './my-video-playlists/my-video-playlist-elements.component' | 11 | import { MyVideoPlaylistElementsComponent } from './my-video-playlists/my-video-playlist-elements.component' |
@@ -100,6 +101,15 @@ const myLibraryRoutes: Routes = [ | |||
100 | } | 101 | } |
101 | }, | 102 | }, |
102 | { | 103 | { |
104 | path: 'followers', | ||
105 | component: MyFollowersComponent, | ||
106 | data: { | ||
107 | meta: { | ||
108 | title: $localize`My followers` | ||
109 | } | ||
110 | } | ||
111 | }, | ||
112 | { | ||
103 | path: 'ownership', | 113 | path: 'ownership', |
104 | component: MyOwnershipComponent, | 114 | component: MyOwnershipComponent, |
105 | data: { | 115 | data: { |