From c475979f47b92c55ebe1d8e36b3f113edecc869a Mon Sep 17 00:00:00 2001 From: Marat Gubaidullin Date: Mon, 23 Oct 2023 12:15:40 -0400 Subject: [PATCH] Fix #952 --- .../src/designer/route/property/DslPropertyField.tsx | 2 +- karavan-space/src/designer/route/property/DslPropertyField.tsx | 2 +- .../main/webui/src/designer/route/property/DslPropertyField.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/karavan-designer/src/designer/route/property/DslPropertyField.tsx b/karavan-designer/src/designer/route/property/DslPropertyField.tsx index 70651b21e5a..9ab39ce724f 100644 --- a/karavan-designer/src/designer/route/property/DslPropertyField.tsx +++ b/karavan-designer/src/designer/route/property/DslPropertyField.tsx @@ -169,7 +169,7 @@ export function DslPropertyField(props: Props) { function isUriReadOnly(property: PropertyMeta): boolean { const dslName: string = props.element?.dslName || ''; - return property.name === 'uri' && !['ToDynamicDefinition', 'WireTapDefinition'].includes(dslName) + return property.name === 'uri' && !['ToDynamicDefinition', 'WireTapDefinition', 'InterceptFromDefinition'].includes(dslName) } function selectInfrastructure(value: string) { diff --git a/karavan-space/src/designer/route/property/DslPropertyField.tsx b/karavan-space/src/designer/route/property/DslPropertyField.tsx index 70651b21e5a..9ab39ce724f 100644 --- a/karavan-space/src/designer/route/property/DslPropertyField.tsx +++ b/karavan-space/src/designer/route/property/DslPropertyField.tsx @@ -169,7 +169,7 @@ export function DslPropertyField(props: Props) { function isUriReadOnly(property: PropertyMeta): boolean { const dslName: string = props.element?.dslName || ''; - return property.name === 'uri' && !['ToDynamicDefinition', 'WireTapDefinition'].includes(dslName) + return property.name === 'uri' && !['ToDynamicDefinition', 'WireTapDefinition', 'InterceptFromDefinition'].includes(dslName) } function selectInfrastructure(value: string) { diff --git a/karavan-web/karavan-app/src/main/webui/src/designer/route/property/DslPropertyField.tsx b/karavan-web/karavan-app/src/main/webui/src/designer/route/property/DslPropertyField.tsx index 70651b21e5a..9ab39ce724f 100644 --- a/karavan-web/karavan-app/src/main/webui/src/designer/route/property/DslPropertyField.tsx +++ b/karavan-web/karavan-app/src/main/webui/src/designer/route/property/DslPropertyField.tsx @@ -169,7 +169,7 @@ export function DslPropertyField(props: Props) { function isUriReadOnly(property: PropertyMeta): boolean { const dslName: string = props.element?.dslName || ''; - return property.name === 'uri' && !['ToDynamicDefinition', 'WireTapDefinition'].includes(dslName) + return property.name === 'uri' && !['ToDynamicDefinition', 'WireTapDefinition', 'InterceptFromDefinition'].includes(dslName) } function selectInfrastructure(value: string) {