1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-06-15 00:05:15 +02:00

Fix: Prevent JavaScript error if message is missing From header (#209)

This commit is contained in:
Ralph Slooten
2023-11-19 09:10:27 +13:00
parent ef41de06ae
commit d013158ac3
3 changed files with 4 additions and 3 deletions

View File

@ -89,7 +89,7 @@ export default {
<label class="col-sm-2 col-form-label text-body-secondary">From</label>
<div class="col-sm-10">
<input type="text" aria-label="From address" readonly class="form-control-plaintext"
:value="message.From.Address">
:value="message.From ? message.From.Address : ''">
</div>
</div>
<div class="row">