You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2023/05/01 18:47:02 UTC

[camel-karavan] branch main updated: Fix #751

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 443d136f Fix #751
443d136f is described below

commit 443d136f966ff1da18c8bb572b5ba13bee8466a8
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Mon May 1 14:46:51 2023 -0400

    Fix #751
---
 karavan-core/src/core/api/CamelDefinitionApiExt.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/karavan-core/src/core/api/CamelDefinitionApiExt.ts b/karavan-core/src/core/api/CamelDefinitionApiExt.ts
index ec88228f..c2d44176 100644
--- a/karavan-core/src/core/api/CamelDefinitionApiExt.ts
+++ b/karavan-core/src/core/api/CamelDefinitionApiExt.ts
@@ -554,7 +554,7 @@ export class CamelDefinitionApiExt {
             properties?.filter(p => p.name !== 'steps')
                 .filter(p => p.name !== 'configurationRef')
                 // .filter(p => (className === 'RouteDefinition' && p.name === 'id') || p.name !== 'id')
-                .filter(p => (className === 'ToDefinition' && p.name !== 'pattern') || className !== 'ToDefinition')
+                // .filter(p => (className === 'ToDefinition' && p.name !== 'pattern') || className !== 'ToDefinition')
                 .forEach(p => {
                     switch (p.name) {
                         case 'uri':