update
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -128,10 +128,7 @@ const allActionTypes: AuditLogActionType[] = [
|
||||
'SSH_CONNECT_SUCCESS', 'SSH_CONNECT_FAILURE', 'SSH_SHELL_FAILURE',
|
||||
// System/Error
|
||||
'DATABASE_MIGRATION', 'ADMIN_SETUP_COMPLETE'
|
||||
// Settings (Specific)
|
||||
// 'FOCUS_SWITCHER_SEQUENCE_UPDATED' // Removed Focus Switcher type from dropdown
|
||||
];
|
||||
// --- End Filtering State ---
|
||||
|
||||
const logs = computed(() => store.logs);
|
||||
const totalLogs = computed(() => store.totalLogs);
|
||||
|
||||
Reference in New Issue
Block a user