Remove unnecessary constructors
This commit is contained in:
parent
f4d792aa9d
commit
ebba6aed7f
|
@ -1,16 +1,8 @@
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { Router } from '@angular/router';
|
|
||||||
|
|
||||||
import { UserService } from 'jslib-common/abstractions/user.service';
|
|
||||||
import { VaultTimeoutService } from 'jslib-common/abstractions/vaultTimeout.service';
|
|
||||||
import { LockGuardService as BaseLockGuardService } from 'jslib-angular/services/lock-guard.service';
|
import { LockGuardService as BaseLockGuardService } from 'jslib-angular/services/lock-guard.service';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class LockGuardService extends BaseLockGuardService {
|
export class LockGuardService extends BaseLockGuardService {
|
||||||
constructor(vaultTimeoutService: VaultTimeoutService, userService: UserService,
|
|
||||||
router: Router) {
|
|
||||||
super(vaultTimeoutService, userService, router);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected homepage = 'tabs/current';
|
protected homepage = 'tabs/current';
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,8 @@
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import {
|
|
||||||
Router,
|
|
||||||
} from '@angular/router';
|
|
||||||
|
|
||||||
import { UserService } from 'jslib-common/abstractions/user.service';
|
|
||||||
import { VaultTimeoutService } from 'jslib-common/abstractions/vaultTimeout.service';
|
|
||||||
|
|
||||||
import { UnauthGuardService as BaseUnauthGuardService } from 'jslib-angular/services/unauth-guard.service';
|
import { UnauthGuardService as BaseUnauthGuardService } from 'jslib-angular/services/unauth-guard.service';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class UnauthGuardService extends BaseUnauthGuardService {
|
export class UnauthGuardService extends BaseUnauthGuardService {
|
||||||
constructor(vaultTimeoutService: VaultTimeoutService, userService: UserService,
|
|
||||||
router: Router) {
|
|
||||||
super(vaultTimeoutService, userService, router);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected homepage = 'tabs/current';
|
protected homepage = 'tabs/current';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue