From 2b6ae0e89fbfa49e14d495f7130c429eec0eb40e Mon Sep 17 00:00:00 2001 From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com> Date: Thu, 24 Apr 2025 10:23:38 +0800 Subject: [PATCH] update --- packages/frontend/src/components/NotificationSettingForm.vue | 2 +- packages/frontend/src/types/server.types.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/components/NotificationSettingForm.vue b/packages/frontend/src/components/NotificationSettingForm.vue index a3d8b5d..2c2b094 100644 --- a/packages/frontend/src/components/NotificationSettingForm.vue +++ b/packages/frontend/src/components/NotificationSettingForm.vue @@ -269,7 +269,7 @@ const canTestUnsaved = computed(() => { const allNotificationEvents: NotificationEvent[] = [ 'LOGIN_SUCCESS', 'LOGIN_FAILURE', 'CONNECTION_ADDED', 'CONNECTION_UPDATED', 'CONNECTION_DELETED', 'SETTINGS_UPDATED', 'PROXY_ADDED', 'PROXY_UPDATED', 'PROXY_DELETED', 'TAG_ADDED', 'TAG_UPDATED', - 'TAG_DELETED', 'API_KEY_ADDED', 'API_KEY_DELETED', 'PASSKEY_ADDED', 'PASSKEY_DELETED', + 'TAG_DELETED', /* 'API_KEY_ADDED', 'API_KEY_DELETED', */ 'PASSKEY_ADDED', 'PASSKEY_DELETED', // Removed API Key events 'IP_BLACKLISTED', // Add the new event here 'SERVER_ERROR' ]; diff --git a/packages/frontend/src/types/server.types.ts b/packages/frontend/src/types/server.types.ts index 311891f..db1f955 100644 --- a/packages/frontend/src/types/server.types.ts +++ b/packages/frontend/src/types/server.types.ts @@ -31,8 +31,8 @@ export type NotificationEvent = | 'TAG_ADDED' | 'TAG_UPDATED' | 'TAG_DELETED' - | 'API_KEY_ADDED' - | 'API_KEY_DELETED' + // | 'API_KEY_ADDED' // Removed API Key events + // | 'API_KEY_DELETED' | 'PASSKEY_ADDED' | 'PASSKEY_DELETED' | 'IP_BLACKLISTED' // Add the new event type here as well