diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-06 14:23:02 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-06 14:23:02 +0200 |
commit | f40712abbbb74e51f06037ef02757c42736bccf8 (patch) | |
tree | 4b130c6387f9687d52d570907eb1bbac6bc04b61 /client/src/app/+stats/stats-routing.module.ts | |
parent | 49f0468d44468528c2fb2c8b0efd19cdaeeec43d (diff) | |
download | PeerTube-f40712abbbb74e51f06037ef02757c42736bccf8.tar.gz PeerTube-f40712abbbb74e51f06037ef02757c42736bccf8.tar.zst PeerTube-f40712abbbb74e51f06037ef02757c42736bccf8.zip |
Add ability to filter overall video stats by date
Diffstat (limited to 'client/src/app/+stats/stats-routing.module.ts')
-rw-r--r-- | client/src/app/+stats/stats-routing.module.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/+stats/stats-routing.module.ts b/client/src/app/+stats/stats-routing.module.ts index 59519a703..b6225cafd 100644 --- a/client/src/app/+stats/stats-routing.module.ts +++ b/client/src/app/+stats/stats-routing.module.ts | |||
@@ -1,11 +1,13 @@ | |||
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 '@app/core' | ||
3 | import { VideoResolver } from '@app/shared/shared-main' | 4 | import { VideoResolver } from '@app/shared/shared-main' |
4 | import { VideoStatsComponent } from './video' | 5 | import { VideoStatsComponent } from './video' |
5 | 6 | ||
6 | const statsRoutes: Routes = [ | 7 | const statsRoutes: Routes = [ |
7 | { | 8 | { |
8 | path: 'videos/:videoId', | 9 | path: 'videos/:videoId', |
10 | canActivate: [ LoginGuard ], | ||
9 | component: VideoStatsComponent, | 11 | component: VideoStatsComponent, |
10 | data: { | 12 | data: { |
11 | meta: { | 13 | meta: { |