diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-24 17:13:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-24 17:13:57 +0200 |
commit | 431ebbd5e40cdae5326bcd631d9e086cfa4eae1e (patch) | |
tree | 9d9373f3b69cfc5b3f7194389ae82087f23c2ac0 /client/src/app/+login | |
parent | 54909304287f3c04dcfb39660be8ead57dc95440 (diff) | |
download | PeerTube-431ebbd5e40cdae5326bcd631d9e086cfa4eae1e.tar.gz PeerTube-431ebbd5e40cdae5326bcd631d9e086cfa4eae1e.tar.zst PeerTube-431ebbd5e40cdae5326bcd631d9e086cfa4eae1e.zip |
Migrate deprecated accordion component
Diffstat (limited to 'client/src/app/+login')
-rw-r--r-- | client/src/app/+login/login.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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/ | |||
7 | import { USER_OTP_TOKEN_VALIDATOR } from '@app/shared/form-validators/user-validators' | 7 | import { USER_OTP_TOKEN_VALIDATOR } from '@app/shared/form-validators/user-validators' |
8 | import { FormReactive, FormReactiveService, InputTextComponent } from '@app/shared/shared-forms' | 8 | import { FormReactive, FormReactiveService, InputTextComponent } from '@app/shared/shared-forms' |
9 | import { InstanceAboutAccordionComponent } from '@app/shared/shared-instance' | 9 | import { InstanceAboutAccordionComponent } from '@app/shared/shared-instance' |
10 | import { NgbAccordion, NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap' | 10 | import { NgbAccordionDirective, NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap' |
11 | import { getExternalAuthHref } from '@shared/core-utils' | 11 | import { getExternalAuthHref } from '@shared/core-utils' |
12 | import { RegisteredExternalAuthConfig, ServerConfig, ServerErrorCode } from '@shared/models' | 12 | import { RegisteredExternalAuthConfig, ServerConfig, ServerErrorCode } from '@shared/models' |
13 | 13 | ||
@@ -23,7 +23,7 @@ export class LoginComponent extends FormReactive implements OnInit, AfterViewIni | |||
23 | @ViewChild('forgotPasswordModal', { static: true }) forgotPasswordModal: ElementRef | 23 | @ViewChild('forgotPasswordModal', { static: true }) forgotPasswordModal: ElementRef |
24 | @ViewChild('otpTokenInput') otpTokenInput: InputTextComponent | 24 | @ViewChild('otpTokenInput') otpTokenInput: InputTextComponent |
25 | 25 | ||
26 | accordion: NgbAccordion | 26 | accordion: NgbAccordionDirective |
27 | error: string = null | 27 | error: string = null |
28 | forgotPasswordEmail = '' | 28 | forgotPasswordEmail = '' |
29 | 29 | ||