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