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/+signup/+register/register.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/+signup') 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 -- cgit v1.2.3