From b7c67cc44fa1e242e97c1da5e94bf76d12311363 Mon Sep 17 00:00:00 2001 From: lcx <1793599591@qq.com> Date: Thu, 29 Jan 2026 18:12:35 +0800 Subject: [PATCH] feat: 1.4 - List supports search --- frontend/public/locales/en/translation.json | 3 ++- frontend/src/components/payment/StripeConfigForm.tsx | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/public/locales/en/translation.json b/frontend/public/locales/en/translation.json index 51e095d..8e0a741 100644 --- a/frontend/public/locales/en/translation.json +++ b/frontend/public/locales/en/translation.json @@ -890,5 +890,6 @@ "Resource group name \"{{name}}\" already exists": "Resource group name \"{{name}}\" already exists", "Auth key name \"{{name}}\" already exists": "Auth key name \"{{name}}\" already exists", "Start date must be before end date": "Start date must be before end date", - "Start date cannot be earlier than 30 days ago": "Start date cannot be earlier than 30 days ago" + "Start date cannot be earlier than 30 days ago": "Start date cannot be earlier than 30 days ago", + "Resource Groups": "Resource Groups" } diff --git a/frontend/src/components/payment/StripeConfigForm.tsx b/frontend/src/components/payment/StripeConfigForm.tsx index cd5d039..462b278 100644 --- a/frontend/src/components/payment/StripeConfigForm.tsx +++ b/frontend/src/components/payment/StripeConfigForm.tsx @@ -66,8 +66,8 @@ export const StripeConfigForm: React.FC = ({ onSave(formData); }; - const isFormValid = - formData.secret.trim() !== "" && formData.webhook_secret.trim() !== ""; + const isFormValid = + formData?.secret?.trim() !== "" && formData?.webhook_secret?.trim() !== ""; const panelContent = () => { return (