diff options
author | Chocobozzz <me@florianbigard.com> | 2018-12-18 09:31:09 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-12-18 11:35:51 +0100 |
commit | 80bfd33c0bf910e2cfdd3270b14ba9eddd90e2e8 (patch) | |
tree | 80cd14e2f503db64ebec5fcfbb94ce5db25f46c9 /client/src/app/+my-account/my-account-routing.module.ts | |
parent | 8b9a525a180cc9f3a98c334cc052dcfc8f36dcd4 (diff) | |
download | PeerTube-80bfd33c0bf910e2cfdd3270b14ba9eddd90e2e8.tar.gz PeerTube-80bfd33c0bf910e2cfdd3270b14ba9eddd90e2e8.tar.zst PeerTube-80bfd33c0bf910e2cfdd3270b14ba9eddd90e2e8.zip |
Add history page on client
Diffstat (limited to 'client/src/app/+my-account/my-account-routing.module.ts')
-rw-r--r-- | client/src/app/+my-account/my-account-routing.module.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/src/app/+my-account/my-account-routing.module.ts b/client/src/app/+my-account/my-account-routing.module.ts index 601e517b4..a2cbeaffc 100644 --- a/client/src/app/+my-account/my-account-routing.module.ts +++ b/client/src/app/+my-account/my-account-routing.module.ts | |||
@@ -13,6 +13,7 @@ import { MyAccountSubscriptionsComponent } from '@app/+my-account/my-account-sub | |||
13 | import { MyAccountOwnershipComponent } from '@app/+my-account/my-account-ownership/my-account-ownership.component' | 13 | import { MyAccountOwnershipComponent } from '@app/+my-account/my-account-ownership/my-account-ownership.component' |
14 | import { MyAccountBlocklistComponent } from '@app/+my-account/my-account-blocklist/my-account-blocklist.component' | 14 | import { MyAccountBlocklistComponent } from '@app/+my-account/my-account-blocklist/my-account-blocklist.component' |
15 | import { MyAccountServerBlocklistComponent } from '@app/+my-account/my-account-blocklist/my-account-server-blocklist.component' | 15 | import { MyAccountServerBlocklistComponent } from '@app/+my-account/my-account-blocklist/my-account-server-blocklist.component' |
16 | import { MyAccountHistoryComponent } from '@app/+my-account/my-account-history/my-account-history.component' | ||
16 | 17 | ||
17 | const myAccountRoutes: Routes = [ | 18 | const myAccountRoutes: Routes = [ |
18 | { | 19 | { |
@@ -114,6 +115,15 @@ const myAccountRoutes: Routes = [ | |||
114 | title: 'Muted instances' | 115 | title: 'Muted instances' |
115 | } | 116 | } |
116 | } | 117 | } |
118 | }, | ||
119 | { | ||
120 | path: 'history/videos', | ||
121 | component: MyAccountHistoryComponent, | ||
122 | data: { | ||
123 | meta: { | ||
124 | title: 'Videos history' | ||
125 | } | ||
126 | } | ||
117 | } | 127 | } |
118 | ] | 128 | ] |
119 | } | 129 | } |