mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
no logs
This commit is contained in:
committed by
Aiden McClelland
parent
21a0ee7fad
commit
9df920f352
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user