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 c475979f Fix #952
c475979f is described below
commit c475979f47b92c55ebe1d8e36b3f113edecc869a
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Mon Oct 23 12:15:40 2023 -0400
Fix #952
---
karavan-designer/src/designer/route/property/DslPropertyField.tsx | 2 +-
karavan-space/src/designer/route/property/DslPropertyField.tsx | 2 +-
.../src/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 70651b21..9ab39ce7 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 70651b21..9ab39ce7 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 70651b21..9ab39ce7 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) {