This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new 909931d6 Small fixes
909931d6 is described below
commit 909931d68ea7a8cb2d9e6707a4c1bc0e148af5d4
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Mon Jun 10 10:50:59 2024 -0400
Small fixes
---
karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx
b/karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx
index cf3a6f7c..bdf58a95 100644
--- a/karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx
+++ b/karavan-app/src/main/webui/src/project/container/ContainerPanel.tsx
@@ -175,7 +175,7 @@ export function ContainerPanel(props: Props) {
</Flex>
</FlexItem>
<FlexItem>
- {env === "dev" && config.infrastructure !== 'kubernetes' &&
<ContainerButtons env={env}/>}
+ {env === config.environment && config.infrastructure !==
'kubernetes' && <ContainerButtons env={env}/>}
</FlexItem>
{showDeleteConfirmation && getDeleteConfirmation()}
</Flex>