Hide email button when mail function is disabled

This commit is contained in:
Glenn de Haan
2024-08-17 14:11:27 +02:00
parent c5cc7569f4
commit de07e51746
2 changed files with 2 additions and 1 deletions

View File

@@ -457,6 +457,7 @@ if(webService) {
error_text: req.flashMessage.message || '',
timeConvert: time,
bytesConvert: bytes,
email_enabled: smtpFrom !== '' && smtpHost !== '' && smtpPort !== '',
voucher_types: voucherTypes,
voucher_custom: voucherCustom,
vouchers: cache.vouchers,