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/02/28 19:03:44 UTC
[camel-karavan] 04/08: Add SupportedOnly option for #658
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 28a4768d2ff6d1b8c806b4d055e3841ba5d1e1dc
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Tue Feb 14 11:59:39 2023 -0500
Add SupportedOnly option for #658
---
karavan-designer/src/App.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/karavan-designer/src/App.tsx b/karavan-designer/src/App.tsx
index b37f9f37..1df9f017 100644
--- a/karavan-designer/src/App.tsx
+++ b/karavan-designer/src/App.tsx
@@ -115,6 +115,7 @@ class App extends React.Component<Props, State> {
const scj: string[] = [];
JSON.parse(data[2]).forEach((c: any) => scj.push(JSON.stringify(c)));
ComponentApi.saveSupportedComponents(scj);
+ ComponentApi.setSupportedOnly(false);
this.toast("Success", "Loaded " + jsons.length + " components", 'success');
this.setState({loaded: true});