mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-15 20:48:08 +01:00
fix: lint errors
This commit is contained in:
parent
b8a75dc0fc
commit
de53264843
2 changed files with 3 additions and 9 deletions
|
|
@ -3,13 +3,11 @@ import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot} from '
|
|||
import {Observable} from 'rxjs';
|
||||
import {map} from 'rxjs/operators';
|
||||
import {CurrentThemeService} from '../utils/theme.service';
|
||||
import {NbDateService} from '@nebular/theme';
|
||||
|
||||
@Injectable()
|
||||
export class ThemeGuard implements CanActivate {
|
||||
constructor(private router: Router,
|
||||
private currentThemeService: CurrentThemeService,
|
||||
private dateService: NbDateService<number>) {}
|
||||
private currentThemeService: CurrentThemeService) {}
|
||||
|
||||
canActivate(
|
||||
route: ActivatedRouteSnapshot,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue