mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 05:31:24 +00:00
Add log mail driver support to frontend
The default mail driver in config/mail.php is 'log', which had no matching Vue component, causing the mail configuration step in the install wizard (and settings page) to render empty.
This commit is contained in:
@@ -31,6 +31,7 @@ export default {
|
||||
Ses,
|
||||
sendmail: Basic,
|
||||
Mail: Basic,
|
||||
log: Basic,
|
||||
},
|
||||
|
||||
emits: ['next'],
|
||||
|
||||
@@ -69,6 +69,7 @@ const mailDriver = computed(() => {
|
||||
if (mailDriverStore.mail_driver == 'sendmail') return Basic
|
||||
if (mailDriverStore.mail_driver == 'ses') return Ses
|
||||
if (mailDriverStore.mail_driver == 'mail') return Basic
|
||||
if (mailDriverStore.mail_driver == 'log') return Basic
|
||||
return Smtp
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user