From 1c8b96dcb609baa5e45d77927490c7d440cb9d26 Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Sun, 19 Nov 2023 09:10:27 +1300 Subject: [PATCH] Fix: Prevent JavaScript error if message lacks From header (#209) --- server/ui-src/components/message/Message.vue | 3 ++- server/ui-src/components/message/Release.vue | 2 +- server/ui-src/views/MessageView.vue | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/server/ui-src/components/message/Message.vue b/server/ui-src/components/message/Message.vue index 57616f4ab..eb2c67aec 100644 --- a/server/ui-src/components/message/Message.vue +++ b/server/ui-src/components/message/Message.vue @@ -293,7 +293,8 @@ export default { - + Return-Path < diff --git a/server/ui-src/components/message/Release.vue b/server/ui-src/components/message/Release.vue index 9491a27f8..12a904349 100644 --- a/server/ui-src/components/message/Release.vue +++ b/server/ui-src/components/message/Release.vue @@ -89,7 +89,7 @@ export default {
+ :value="message.From ? message.From.Address : ''">
diff --git a/server/ui-src/views/MessageView.vue b/server/ui-src/views/MessageView.vue index 6bf72c7ad..f19c7bdf8 100644 --- a/server/ui-src/views/MessageView.vue +++ b/server/ui-src/views/MessageView.vue @@ -341,6 +341,6 @@ export default { - +