bug fix
This commit is contained in:
parent
200df48017
commit
99c38e9833
|
@ -250,6 +250,12 @@ export class HomeComponent implements OnInit {
|
|||
// selectType = SignInComposeComponent;
|
||||
return;
|
||||
break;
|
||||
case ComposeMenuType.signIn:
|
||||
selectType = SignUpComposeComponent;
|
||||
break;
|
||||
case ComposeMenuType.signup:
|
||||
selectType = SignUpComposeComponent;
|
||||
break;
|
||||
case ComposeMenuType.deposit:
|
||||
selectType = DepositComposeComponent;
|
||||
break;
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
?.hasError('notExistReferalCode')
|
||||
"
|
||||
>
|
||||
추천인 코드는 필수 입력입니다.
|
||||
추천인 코드를 확인해주세요.
|
||||
</mat-error>
|
||||
</mat-form-field>
|
||||
|
||||
|
|
|
@ -164,8 +164,9 @@ export class SignUpComposeComponent implements OnInit {
|
|||
|
||||
__checkReferrerCode(event: FocusEvent): void {
|
||||
const code = this.signupComposeForm.get('referalCode')?.value;
|
||||
|
||||
this._memberReferrerService.getMemberReferrerByCode(code).then((result) => {
|
||||
if (!result) {
|
||||
if (!result.getMemberReferrer()) {
|
||||
this.signupComposeForm
|
||||
?.get('referalCode')
|
||||
?.setErrors({ notExistReferalCode: true });
|
||||
|
|
Loading…
Reference in New Issue
Block a user