fix linting
This commit is contained in:
@@ -32,7 +32,7 @@ export class SlutredovisningViewComponent {
|
||||
shareReplay(1)
|
||||
);
|
||||
|
||||
statusIsFailed(status: string) {
|
||||
statusIsFailed(status: string): boolean {
|
||||
return status === 'Ej godkänd';
|
||||
}
|
||||
|
||||
|
||||
@@ -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`;
|
||||
|
||||
@@ -71,7 +71,7 @@ export class EmployeeService extends UnsubscribeDirective {
|
||||
)
|
||||
)
|
||||
.subscribe(employee => {
|
||||
this._employee$.next(employee as Employee);
|
||||
this._employee$.next(employee);
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user