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

commit 87b4e926e0badb5b59c6b5690afd4b3953f644af
Author: Marat Gubaidullin <marat.gubaidul...@gmail.com>
AuthorDate: Tue Aug 1 18:26:33 2023 -0400

    Fixed #841
---
 .../src/designer/route/property/ComponentParameterField.tsx             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/karavan-designer/src/designer/route/property/ComponentParameterField.tsx 
b/karavan-designer/src/designer/route/property/ComponentParameterField.tsx
index ca1f6a0d..e0a6f99f 100644
--- a/karavan-designer/src/designer/route/property/ComponentParameterField.tsx
+++ b/karavan-designer/src/designer/route/property/ComponentParameterField.tsx
@@ -139,7 +139,7 @@ export class ComponentParameterField extends 
React.Component<Props, State> {
         const internalUris = 
CamelUi.getInternalRouteUris(this.props.integration, componentName, false);
         const uris: string [] = [];
         uris.push(...internalUris);
-        if (value.length > 0 && !uris.includes(value)) {
+        if (value && value.length > 0 && !uris.includes(value)) {
             uris.unshift(value);
         }
         if (uris && uris.length > 0) {

Reply via email to