From 1735cedd72a1313fc4c24297035a75aa35b85236 Mon Sep 17 00:00:00 2001 From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com> Date: Sun, 27 Apr 2025 00:06:04 +0800 Subject: [PATCH] Update NotificationSettingForm.vue --- .../frontend/src/components/NotificationSettingForm.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/frontend/src/components/NotificationSettingForm.vue b/packages/frontend/src/components/NotificationSettingForm.vue index bc7208f..40e227e 100644 --- a/packages/frontend/src/components/NotificationSettingForm.vue +++ b/packages/frontend/src/components/NotificationSettingForm.vue @@ -211,14 +211,14 @@ import { NotificationSetting, NotificationEvent, WebhookConfig, - EmailConfig, // Keep this, but we'll add SMTP fields + EmailConfig, TelegramConfig } from '../types/server.types'; import { useI18n } from 'vue-i18n'; -// Extend EmailConfig for SMTP fields -interface SmtpEmailConfig extends Omit { // Omit subjectTemplate from base - bodyTemplate?: string; // Add bodyTemplate + +interface SmtpEmailConfig extends Omit { + bodyTemplate?: string; smtpHost?: string; smtpPort?: number; smtpSecure?: boolean;