From 0f01a8bacddf6c502e6470e34fdac7750bb76e89 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 14 May 2021 16:12:45 +0200 Subject: Remove ngx-meta Unmaintained --- client/src/app/+videos/+video-edit/video-add-routing.module.ts | 3 +-- client/src/app/+videos/+video-edit/video-update-routing.module.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'client/src/app/+videos/+video-edit') diff --git a/client/src/app/+videos/+video-edit/video-add-routing.module.ts b/client/src/app/+videos/+video-edit/video-add-routing.module.ts index 9ff66bea0..3b9a5ab3a 100644 --- a/client/src/app/+videos/+video-edit/video-add-routing.module.ts +++ b/client/src/app/+videos/+video-edit/video-add-routing.module.ts @@ -1,14 +1,13 @@ import { NgModule } from '@angular/core' import { RouterModule, Routes } from '@angular/router' import { CanDeactivateGuard, LoginGuard } from '@app/core' -import { MetaGuard } from '@ngx-meta/core' import { VideoAddComponent } from './video-add.component' const videoAddRoutes: Routes = [ { path: '', component: VideoAddComponent, - canActivate: [ MetaGuard, LoginGuard ], + canActivate: [ LoginGuard ], canDeactivate: [ CanDeactivateGuard ] } ] diff --git a/client/src/app/+videos/+video-edit/video-update-routing.module.ts b/client/src/app/+videos/+video-edit/video-update-routing.module.ts index a04351b05..ba9167dd0 100644 --- a/client/src/app/+videos/+video-edit/video-update-routing.module.ts +++ b/client/src/app/+videos/+video-edit/video-update-routing.module.ts @@ -1,7 +1,6 @@ import { NgModule } from '@angular/core' import { RouterModule, Routes } from '@angular/router' import { CanDeactivateGuard, LoginGuard } from '@app/core' -import { MetaGuard } from '@ngx-meta/core' import { VideoUpdateComponent } from './video-update.component' import { VideoUpdateResolver } from './video-update.resolver' @@ -9,7 +8,7 @@ const videoUpdateRoutes: Routes = [ { path: '', component: VideoUpdateComponent, - canActivate: [ MetaGuard, LoginGuard ], + canActivate: [ LoginGuard ], canDeactivate: [ CanDeactivateGuard ], resolve: { videoData: VideoUpdateResolver -- cgit v1.2.3