From 49a56f6664c37e3a56057d114afceed96e2af285 Mon Sep 17 00:00:00 2001 From: milan-deepfence Date: Thu, 25 Apr 2024 11:37:14 +0530 Subject: [PATCH] rename component name --- .../scan-configure-forms/MalwareScanConfigureForm.tsx | 4 ++-- .../scan-configure-forms/SecretScanConfigureForm.tsx | 4 ++-- .../scan-configure-forms/VulnerabilityScanConfigureForm.tsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deepfence_frontend/apps/dashboard/src/components/scan-configure-forms/MalwareScanConfigureForm.tsx b/deepfence_frontend/apps/dashboard/src/components/scan-configure-forms/MalwareScanConfigureForm.tsx index 628af7fd1f..d7b05a12f5 100644 --- a/deepfence_frontend/apps/dashboard/src/components/scan-configure-forms/MalwareScanConfigureForm.tsx +++ b/deepfence_frontend/apps/dashboard/src/components/scan-configure-forms/MalwareScanConfigureForm.tsx @@ -237,7 +237,7 @@ export const scanMalwareApiAction = async ({ return scanResponse; }; -const ScanDeepfenceElements = () => { +const ScanDeepfenceSystem = () => { return (
} - {wantDeepfenceSystem(data) ? : null} + {wantDeepfenceSystem(data) ? : null} {fetcherData?.message && (

{fetcherData.message}

)} diff --git a/deepfence_frontend/apps/dashboard/src/components/scan-configure-forms/SecretScanConfigureForm.tsx b/deepfence_frontend/apps/dashboard/src/components/scan-configure-forms/SecretScanConfigureForm.tsx index f40901b766..ee5c5568f3 100644 --- a/deepfence_frontend/apps/dashboard/src/components/scan-configure-forms/SecretScanConfigureForm.tsx +++ b/deepfence_frontend/apps/dashboard/src/components/scan-configure-forms/SecretScanConfigureForm.tsx @@ -234,7 +234,7 @@ export const scanSecretApiAction = async ({ return scanResponse; }; -const ScanDeepfenceElements = () => { +const ScanDeepfenceSystem = () => { return (
} - {wantDeepfenceSystem(data) ? : null} + {wantDeepfenceSystem(data) ? : null} {fetcherData?.message && (

{fetcherData.message}

diff --git a/deepfence_frontend/apps/dashboard/src/components/scan-configure-forms/VulnerabilityScanConfigureForm.tsx b/deepfence_frontend/apps/dashboard/src/components/scan-configure-forms/VulnerabilityScanConfigureForm.tsx index 7c3e61d3ed..a677b11b0b 100644 --- a/deepfence_frontend/apps/dashboard/src/components/scan-configure-forms/VulnerabilityScanConfigureForm.tsx +++ b/deepfence_frontend/apps/dashboard/src/components/scan-configure-forms/VulnerabilityScanConfigureForm.tsx @@ -315,7 +315,7 @@ export const scanVulnerabilityApiAction = async ({ return scanResponse; }; -const ScanDeepfenceElements = () => { +const ScanDeepfenceSystem = () => { return (
} - {wantDeepfenceSystem(data) ? : null} + {wantDeepfenceSystem(data) ? : null} {fetcherData?.message && (

{fetcherData.message}