From 431ebbd5e40cdae5326bcd631d9e086cfa4eae1e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 May 2023 17:13:57 +0200 Subject: Migrate deprecated accordion component --- client/src/app/+login/login.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/+login') diff --git a/client/src/app/+login/login.component.ts b/client/src/app/+login/login.component.ts index 1e224db8c..a414a2121 100644 --- a/client/src/app/+login/login.component.ts +++ b/client/src/app/+login/login.component.ts @@ -7,7 +7,7 @@ import { LOGIN_PASSWORD_VALIDATOR, LOGIN_USERNAME_VALIDATOR } from '@app/shared/ import { USER_OTP_TOKEN_VALIDATOR } from '@app/shared/form-validators/user-validators' import { FormReactive, FormReactiveService, InputTextComponent } from '@app/shared/shared-forms' import { InstanceAboutAccordionComponent } from '@app/shared/shared-instance' -import { NgbAccordion, NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap' +import { NgbAccordionDirective, NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap' import { getExternalAuthHref } from '@shared/core-utils' import { RegisteredExternalAuthConfig, ServerConfig, ServerErrorCode } from '@shared/models' @@ -23,7 +23,7 @@ export class LoginComponent extends FormReactive implements OnInit, AfterViewIni @ViewChild('forgotPasswordModal', { static: true }) forgotPasswordModal: ElementRef @ViewChild('otpTokenInput') otpTokenInput: InputTextComponent - accordion: NgbAccordion + accordion: NgbAccordionDirective error: string = null forgotPasswordEmail = '' -- cgit v1.2.3