diff --git a/src/app/utils/subscribe/invite/invite.component.html b/src/app/utils/subscribe/invite/invite.component.html index cccccf0..93e35fa 100644 --- a/src/app/utils/subscribe/invite/invite.component.html +++ b/src/app/utils/subscribe/invite/invite.component.html @@ -23,8 +23,10 @@ --> - From: + + From * : +
Please add your name.
diff --git a/src/app/utils/subscribe/invite/invite.component.ts b/src/app/utils/subscribe/invite/invite.component.ts index 324b9f6..8506743 100644 --- a/src/app/utils/subscribe/invite/invite.component.ts +++ b/src/app/utils/subscribe/invite/invite.component.ts @@ -33,6 +33,7 @@ export class InviteComponent implements OnInit { public inviteErrorMessage: string = ''; public missingCommunityId: string = ''; public showAddRecipientMessage: boolean = false; + public showAddNameMessage: boolean = false; public email: Email; public body: Body; @@ -115,7 +116,7 @@ export class InviteComponent implements OnInit { this.successfulSentMessage = ""; this.inviteErrorMessage = ""; this.status = this.errorCodes.LOADING; - if (this.recipients != "") { + if (this.recipients != "" && this.body.fromName != "") { if (this.validateEmails()) { this.composeEmail(); console.log(this.email.body);