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 714e07c8 Fix ui issues 714e07c8 is described below commit 714e07c845bc90976888f9d0a2507fdd232a6c9f Author: Marat Gubaidullin <ma...@talismancloud.io> AuthorDate: Thu Oct 5 16:18:58 2023 -0400 Fix ui issues --- karavan-designer/src/designer/route/DslProperties.tsx | 3 +-- karavan-vscode/webview/index.css | 2 +- .../java/org/apache/camel/karavan/kubernetes/KubernetesService.java | 1 - .../karavan-app/src/main/webui/src/designer/route/DslProperties.tsx | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/karavan-designer/src/designer/route/DslProperties.tsx b/karavan-designer/src/designer/route/DslProperties.tsx index 82fd3dd9..8231759c 100644 --- a/karavan-designer/src/designer/route/DslProperties.tsx +++ b/karavan-designer/src/designer/route/DslProperties.tsx @@ -41,8 +41,7 @@ interface Props { export function DslProperties(props: Props) { - const [integration, setIntegration] = useIntegrationStore((state) => - [state.integration, state.setIntegration], shallow) + const [integration] = useIntegrationStore((state) => [state.integration], shallow) const {cloneElement, onDataFormatChange, onPropertyChange, onParametersChange, onExpressionChange} = usePropertiesHook(props.isRouteDesigner); diff --git a/karavan-vscode/webview/index.css b/karavan-vscode/webview/index.css index d7be29a5..2074a097 100644 --- a/karavan-vscode/webview/index.css +++ b/karavan-vscode/webview/index.css @@ -200,7 +200,7 @@ body, :root, #root, .karavan { border: none; background: var(--vscode-tab-inactiveBackground); color: var(--vscode-input-foreground); - margin-bottom: 0; + /* margin-bottom: 0; */ } .vscode-dark .karavan .pf-v5-c-drawer__splitter { diff --git a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/kubernetes/KubernetesService.java b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/kubernetes/KubernetesService.java index 14a6d6a0..597fb142 100644 --- a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/kubernetes/KubernetesService.java +++ b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/kubernetes/KubernetesService.java @@ -453,7 +453,6 @@ public class KubernetesService implements HealthCheck { private void createPVC(String podName, Map<String, String> labels) { try (KubernetesClient client = kubernetesClient()) { - PersistentVolumeClaim old = client.persistentVolumeClaims().inNamespace(getNamespace()).withName(podName).get(); if (old == null) { PersistentVolumeClaim pvc = new PersistentVolumeClaimBuilder() .withNewMetadata() diff --git a/karavan-web/karavan-app/src/main/webui/src/designer/route/DslProperties.tsx b/karavan-web/karavan-app/src/main/webui/src/designer/route/DslProperties.tsx index d0635d26..82fd3dd9 100644 --- a/karavan-web/karavan-app/src/main/webui/src/designer/route/DslProperties.tsx +++ b/karavan-web/karavan-app/src/main/webui/src/designer/route/DslProperties.tsx @@ -127,7 +127,6 @@ export function DslProperties(props: Props) { : getProperties().filter(p => !dataFormats.includes(p.name)); const propertiesMain = properties.filter(p => !p.label.includes("advanced")); const propertiesAdvanced = properties.filter(p => p.label.includes("advanced")); - console.log(selectedStep) return ( <div key={selectedStep ? selectedStep.uuid : 'integration'} className='properties'>