From 66346e7ed646a18a1073cc4fcf45d83150b2b8bd Mon Sep 17 00:00:00 2001 From: Maximilian Martin Date: Mon, 31 Jul 2023 07:19:59 -0400 Subject: [PATCH] warn about missing attachments Signed-off-by: Maximilian Martin --- src/components/NewMessageModal.vue | 68 ++++++++++++++++++++-------- src/errors/AttachmentMissingError.js | 32 +++++++++++++ 2 files changed, 81 insertions(+), 19 deletions(-) create mode 100644 src/errors/AttachmentMissingError.js diff --git a/src/components/NewMessageModal.vue b/src/components/NewMessageModal.vue index d43eef0149..715ebc7e10 100644 --- a/src/components/NewMessageModal.vue +++ b/src/components/NewMessageModal.vue @@ -30,20 +30,27 @@ - -

{{ warning }}

- - {{ t('mail', 'Go back') }} - - - {{ t('mail', 'Send anyway') }} - + + +