Skip to content

Commit

Permalink
rename component name
Browse files Browse the repository at this point in the history
  • Loading branch information
milan-deepfence committed Apr 25, 2024
1 parent 4c5be2e commit 49a56f6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export const scanMalwareApiAction = async ({
return scanResponse;
};

const ScanDeepfenceElements = () => {
const ScanDeepfenceSystem = () => {
return (
<div className="mt-6">
<Switch
Expand Down Expand Up @@ -364,7 +364,7 @@ export const MalwareScanConfigureForm = ({
) : null}

{showScheduleScanOptions && <ScheduleScanForm />}
{wantDeepfenceSystem(data) ? <ScanDeepfenceElements /> : null}
{wantDeepfenceSystem(data) ? <ScanDeepfenceSystem /> : null}
{fetcherData?.message && (
<p className="text-status-error text-p7 mt-4">{fetcherData.message}</p>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export const scanSecretApiAction = async ({
return scanResponse;
};

const ScanDeepfenceElements = () => {
const ScanDeepfenceSystem = () => {
return (
<div className="mt-6">
<Switch
Expand Down Expand Up @@ -362,7 +362,7 @@ export const SecretScanConfigureForm = ({

{showScheduleScanOptions && <ScheduleScanForm />}

{wantDeepfenceSystem(data) ? <ScanDeepfenceElements /> : null}
{wantDeepfenceSystem(data) ? <ScanDeepfenceSystem /> : null}

{fetcherData?.message && (
<p className="text-status-error text-p7 mt-4">{fetcherData.message}</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export const scanVulnerabilityApiAction = async ({
return scanResponse;
};

const ScanDeepfenceElements = () => {
const ScanDeepfenceSystem = () => {
return (
<div className="mt-6">
<Switch
Expand Down Expand Up @@ -529,7 +529,7 @@ export const VulnerabilityScanConfigureForm = ({

{showScheduleScanOptions && <ScheduleScanForm />}

{wantDeepfenceSystem(data) ? <ScanDeepfenceElements /> : null}
{wantDeepfenceSystem(data) ? <ScanDeepfenceSystem /> : null}

{fetcherData?.message && (
<p className="mt-4 text-status-error text-p7">{fetcherData.message}</p>
Expand Down

0 comments on commit 49a56f6

Please sign in to comment.