diff --git a/src/app/modules/admin/member/partner/compose/regist-compose.component.html b/src/app/modules/admin/member/partner/compose/regist-compose.component.html
index 109a5cd..9e44ee9 100644
--- a/src/app/modules/admin/member/partner/compose/regist-compose.component.html
+++ b/src/app/modules/admin/member/partner/compose/regist-compose.component.html
@@ -32,7 +32,11 @@
회원 아이디
-
+
diff --git a/src/app/modules/admin/member/partner/compose/regist-compose.component.ts b/src/app/modules/admin/member/partner/compose/regist-compose.component.ts
index 6ec4439..8e3b966 100644
--- a/src/app/modules/admin/member/partner/compose/regist-compose.component.ts
+++ b/src/app/modules/admin/member/partner/compose/regist-compose.component.ts
@@ -1,6 +1,7 @@
import { Component, Inject, OnInit, ViewEncapsulation } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
+import { IdentityService } from 'app/modules/polyglot/member/services/identity.service';
export interface RegistComposeData {
title: string;
@@ -45,7 +46,8 @@ export class RegistComposeComponent implements OnInit {
constructor(
public matDialogRef: MatDialogRef,
@Inject(MAT_DIALOG_DATA) public data: RegistComposeData,
- private _formBuilder: FormBuilder
+ private _formBuilder: FormBuilder,
+ private _identityService: IdentityService
) {}
// -----------------------------------------------------------------------------------------------------
@@ -116,4 +118,14 @@ export class RegistComposeComponent implements OnInit {
* Send the message
*/
send(): void {}
+
+ __checkSigninId(event: FocusEvent): void {
+ const signinId = this.composeForm.get('signinId')?.value;
+ // console.log(event, '::', signinId);
+ this._identityService
+ .checkUsernameForDuplication(signinId)
+ .then((isUse: boolean) => {
+ console.log('check username: ', isUse);
+ });
+ }
}