From 5036e4c1a335dad0d7544686b3fc0854bf601b68 Mon Sep 17 00:00:00 2001 From: Park Byung Eun Date: Sat, 20 Aug 2022 07:27:28 +0000 Subject: [PATCH] ...ing --- .../modules/user/main/compose/sign-up-compose.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/modules/user/main/compose/sign-up-compose.component.ts b/src/app/modules/user/main/compose/sign-up-compose.component.ts index c4f37b2..bd1c1c0 100644 --- a/src/app/modules/user/main/compose/sign-up-compose.component.ts +++ b/src/app/modules/user/main/compose/sign-up-compose.component.ts @@ -103,7 +103,11 @@ export class SignUpComposeComponent implements OnInit { /** * Send the message */ - send(): void {} + send(): void { + if (!this.signupComposeForm.valid) { + return; + } + } __checkUsernameDuplicate(event: FocusEvent): void { const username = this.signupComposeForm.get('username')?.value;