Fallback to using from address if test address is not set, add reset button when form has changes

This commit is contained in:
advplyr
2023-06-12 17:12:52 -05:00
parent d54edb93d6
commit d748d43efc
14 changed files with 20 additions and 14 deletions

View File

@ -26,7 +26,7 @@ class EmailManager {
transporter.sendMail({
from: this.db.emailSettings.fromAddress,
to: this.db.emailSettings.testAddress,
to: this.db.emailSettings.testAddress || this.db.emailSettings.fromAddress,
subject: 'Test email from Audiobookshelf',
text: 'Success!'
}).then((result) => {