diff --git a/cwt-angular/src/main/webapp/app/message/chat-input.component.html b/cwt-angular/src/main/webapp/app/message/chat-input.component.html index 37fd0b78..42a326cf 100644 --- a/cwt-angular/src/main/webapp/app/message/chat-input.component.html +++ b/cwt-angular/src/main/webapp/app/message/chat-input.component.html @@ -1,4 +1,4 @@ -
+
u.id).includes(user.id) && user.id !== this.authUser.id))); } - submit() { + submit(valid: boolean) { + if (!valid) return; this.disabled = true; const message: MessageCreationDto = { body: this.value,