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 = '' diff --git a/client/src/app/+signup/+register/register.component.ts b/client/src/app/+signup/+register/register.component.ts index 9259d902c..c17a3f380 100644 --- a/client/src/app/+signup/+register/register.component.ts +++ b/client/src/app/+signup/+register/register.component.ts @@ -5,7 +5,7 @@ import { ActivatedRoute } from '@angular/router' import { AuthService } from '@app/core' import { HooksService } from '@app/core/plugins/hooks.service' import { InstanceAboutAccordionComponent } from '@app/shared/shared-instance' -import { NgbAccordion } from '@ng-bootstrap/ng-bootstrap' +import { NgbAccordionDirective } from '@ng-bootstrap/ng-bootstrap' import { UserRegister } from '@shared/models' import { ServerConfig } from '@shared/models/server' import { SignupService } from '../shared/signup.service' @@ -18,7 +18,7 @@ import { SignupService } from '../shared/signup.service' export class RegisterComponent implements OnInit { @ViewChild('lastStep') lastStep: CdkStep - accordion: NgbAccordion + accordion: NgbAccordionDirective signupError: string signupSuccess = false diff --git a/client/src/app/shared/shared-instance/instance-about-accordion.component.html b/client/src/app/shared/shared-instance/instance-about-accordion.component.html index ac8c01856..5c679685b 100644 --- a/client/src/app/shared/shared-instance/instance-about-accordion.component.html +++ b/client/src/app/shared/shared-instance/instance-about-accordion.component.html @@ -2,91 +2,127 @@