You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2024/09/24 09:12:20 UTC
(incubator-devlake) 48/48: fix: not set value for envNamePattern
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 32cc9cf6062a6002559008e37480dc20ce172921
Author: mintsweet <0x...@gmail.com>
AuthorDate: Tue Sep 24 21:11:15 2024 +1200
fix: not set value for envNamePattern
---
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 23cb306a2..d813a5f2f 100644
--- a/config-ui/src/plugins/components/deployments/index.tsx
+++ b/config-ui/src/plugins/components/deployments/index.tsx
@@ -88,7 +88,7 @@ export const Deployments = ({ style, plugin, connectionId, transformation, setTr
<Select.Option value="regex">matches</Select.Option>
</Select>
{type === 'regex' ? (
- <Input placeholder="(?i)prod(.*)" onChange={handleChangeRegex} />
+ <Input placeholder="(?i)prod(.*)" value={transformation.envNamePattern} onChange={handleChangeRegex} />
) : (
<Select
mode="tags"