This commit is contained in:
Drew Ansbacher
2021-11-03 15:49:06 -06:00
committed by Aiden McClelland
parent 21a0ee7fad
commit 9df920f352

View File

@@ -13,12 +13,8 @@ export class NavGuard implements CanActivate {
canActivate (): boolean { canActivate (): boolean {
if (this.httpService.productKey) { if (this.httpService.productKey) {
console.log('here here here')
console.log('here here here')
return true return true
} else { } else {
console.log('here here here')
this.router.navigateByUrl('product-key') this.router.navigateByUrl('product-key')
return false return false
} }