diff options
Diffstat (limited to 'src/components/Composer.vue')
-rw-r--r-- | src/components/Composer.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/Composer.vue b/src/components/Composer.vue index bcb48ca6f..a1abaae58 100644 --- a/src/components/Composer.vue +++ b/src/components/Composer.vue @@ -151,6 +151,7 @@ class="submit-message send primary icon-confirm-white" type="submit" :value="submitButtonTitle" + :disabled="!canSend" @click="onSend" /> </div> @@ -292,6 +293,9 @@ export default { noSubject() { return this.subjectVal === '' && this.bodyVal !== '' }, + canSend() { + return this.selectTo.length > 0 || this.selectCc.length > 0 || this.selectBcc.length > 0 + }, }, watch: { selectedAlias(val) { |