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

commit 7d40909e3b07e273532c6790fc0ff56ac96aac93
Author: mintsweet <0x1304...@gmail.com>
AuthorDate: Fri Sep 20 15:05:08 2024 +1200

    fix: error default value in deployment
---
 config-ui/src/plugins/components/deployments/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config-ui/src/plugins/components/deployments/index.tsx 
b/config-ui/src/plugins/components/deployments/index.tsx
index 4ed690cc4..0d297bb08 100644
--- a/config-ui/src/plugins/components/deployments/index.tsx
+++ b/config-ui/src/plugins/components/deployments/index.tsx
@@ -32,7 +32,7 @@ interface Props {
 }
 
 export const Deployments = ({ style, plugin, connectionId, transformation, 
setTransformation }: Props) => {
-  const [type, setType] = useState('regex');
+  const [type, setType] = useState('select');
 
   const { loading, data } = useRequest(() => 
API.scopeConfig.deployments(plugin, connectionId), [plugin, connectionId]);
 

Reply via email to