1
0
Fork 0

Fix login guard to videos from subscriptions

This commit is contained in:
Chocobozzz 2020-12-03 14:50:21 +01:00
parent bb4ba6d94c
commit b2dd58a808
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { LoginGuard } from '@app/core'
import { MetaGuard } from '@ngx-meta/core'
import { VideoOverviewComponent } from './video-list/overview/video-overview.component'
import { VideoLocalComponent } from './video-list/video-local.component'
@ -65,6 +66,7 @@ const videosRoutes: Routes = [
},
{
path: 'subscriptions',
canActivate: [ LoginGuard ],
component: VideoUserSubscriptionsComponent,
data: {
meta: {