fix linting

This commit is contained in:
Daniel Appelgren
2021-12-14 13:32:05 +01:00
parent 16146d4ce9
commit e75e1e06c3
3 changed files with 3 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ export class SlutredovisningViewComponent {
shareReplay(1)
);
statusIsFailed(status: string) {
statusIsFailed(status: string): boolean {
return status === 'Ej godkänd';
}

View File

@@ -12,6 +12,7 @@ import { UiIconSize } from '@ui/icon/icon-size.enum';
export class LoginComponent {
IconType = UiIconType;
IconSize = UiIconSize;
// eslint-disable-next-line max-len
private readonly _baseLoginUrl = `${environment.ciam.loginUrl}&client_id=${environment.ciam.clientId}&redirect_uri=${window.location.origin}&template=msfa`;
mobileBankIdLink = `${this._baseLoginUrl}&acr_values=bankid-mobile`;
bankIdLink = `${this._baseLoginUrl}&acr_values=bankid`;

View File

@@ -71,7 +71,7 @@ export class EmployeeService extends UnsubscribeDirective {
)
)
.subscribe(employee => {
this._employee$.next(employee as Employee);
this._employee$.next(employee);
})
);
}