This commit is contained in:
Park Byung Eun 2022-08-24 04:58:38 +00:00
parent 200df48017
commit 99c38e9833
3 changed files with 9 additions and 2 deletions

View File

@ -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;

View File

@ -54,7 +54,7 @@
?.hasError('notExistReferalCode')
"
>
추천인 코드는 필수 입력입니다.
추천인 코드를 확인해주세요.
</mat-error>
</mat-form-field>

View File

@ -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 });