This commit is contained in:
Baobhan Sith
2025-04-27 00:05:24 +08:00
parent 8045a8bf6d
commit 25ddebb908
2 changed files with 1 additions and 4 deletions
@@ -288,7 +288,7 @@ const getDefaultFormData = (): Omit<NotificationSetting, 'id' | 'created_at' | '
enabled: true,
channel_type: 'webhook',
config: {}, // Will be populated based on channel_type
enabled_events: ['LOGIN_FAILURE', 'SERVER_ERROR'], // Sensible defaults
enabled_events: ['LOGIN_FAILURE'], // Sensible defaults
});
const formData = reactive(getDefaultFormData());