This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch feat-dora-config
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/feat-dora-config by this push:
new f5d805a6c fix: cannot check in bamboo cicd
f5d805a6c is described below
commit f5d805a6c579410c2630f062cf1fd46ec42624b7
Author: mintsweet <[email protected]>
AuthorDate: Mon Sep 23 16:13:30 2024 +1200
fix: cannot check in bamboo cicd
---
config-ui/src/plugins/register/bamboo/transformation.tsx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/config-ui/src/plugins/register/bamboo/transformation.tsx
b/config-ui/src/plugins/register/bamboo/transformation.tsx
index 23840b246..f33c0cb3a 100644
--- a/config-ui/src/plugins/register/bamboo/transformation.tsx
+++ b/config-ui/src/plugins/register/bamboo/transformation.tsx
@@ -43,7 +43,7 @@ export const BambooTransformation = ({ plugin, connectionId,
entities, transform
} else {
setUseCustom(false);
}
- }, [transformation]);
+ }, []);
const handleChangeUseCustom = (e: React.FormEvent<HTMLInputElement>) => {
const checked = (e.target as HTMLInputElement).checked;
@@ -177,6 +177,7 @@ const renderCollapseItems = ({
<Input
style={{ width: 180, margin: '0 8px' }}
placeholder="(?i)(prod|release)"
+ disabled={!transformation.deploymentPattern}
value={transformation.productionPattern ?? ''}
onChange={(e) =>
onChangeTransformation({