Skip to content

Commit

Permalink
Fix ui issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mgubaidullin committed Oct 5, 2023
1 parent 75c46e4 commit 714e07c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions karavan-designer/src/designer/route/DslProperties.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion karavan-vscode/webview/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ private Pod getDevModePod(String name, String jbangOptions, Map<String, String>

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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'>
Expand Down

0 comments on commit 714e07c

Please sign in to comment.