From ec9fcfee314414cbe65cdda8534a309607d05f79 Mon Sep 17 00:00:00 2001 From: shivani170 Date: Thu, 21 Nov 2024 13:36:39 +0530 Subject: [PATCH] chore: header text added --- .../ApplicationGroup/Details/TriggerView/BulkCITrigger.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/ApplicationGroup/Details/TriggerView/BulkCITrigger.tsx b/src/components/ApplicationGroup/Details/TriggerView/BulkCITrigger.tsx index e56a9a62e2..f12d539b99 100644 --- a/src/components/ApplicationGroup/Details/TriggerView/BulkCITrigger.tsx +++ b/src/components/ApplicationGroup/Details/TriggerView/BulkCITrigger.tsx @@ -106,7 +106,6 @@ const BulkCITrigger = ({ const [isChangeBranchClicked, setChangeBranchClicked] = useState(false) const [selectedApp, setSelectedApp] = useState(appList[0]) - const [regexValue, setRegexValue] = useState>({}) const [appIgnoreCache, setAppIgnoreCache] = useState>({}) const [appPolicy, setAppPolicy] = useState>({}) @@ -134,14 +133,11 @@ const BulkCITrigger = ({ closePopup(evt) } - - useEffect(() => { for (const _app of appList) { appIgnoreCache[_app.ciPipelineId] = false } getMaterialData() - }, []) const getInitSelectedRegexValue = (): Record => { @@ -320,7 +316,7 @@ const BulkCITrigger = ({ style={ButtonStyleType.neutral} /> )} -

Build image

+

{isWebhookBulkCI ? `${selectedApp.ciPipelineName} / All received webhooks` : 'Build image' }