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/12/07 22:39:46 UTC

(camel-karavan) 01/03: Do not show ephemeral projects om Templates tab

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 ba543b94eb4688be6942a770d27473e8e13f0940
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Thu Dec 7 15:43:25 2023 -0500

    Do not show ephemeral projects om Templates tab
---
 karavan-web/karavan-app/src/main/webui/src/templates/TemplatesPage.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/karavan-web/karavan-app/src/main/webui/src/templates/TemplatesPage.tsx b/karavan-web/karavan-app/src/main/webui/src/templates/TemplatesPage.tsx
index eda34e11..ee6c7063 100644
--- a/karavan-web/karavan-app/src/main/webui/src/templates/TemplatesPage.tsx
+++ b/karavan-web/karavan-app/src/main/webui/src/templates/TemplatesPage.tsx
@@ -94,7 +94,7 @@ export function TemplatesPage () {
 
     function getProjectsTable() {
         const projs = projects
-            .filter(p => p.type !== ProjectType.normal)
+            .filter(p => p.type !== ProjectType.normal && p.type !== ProjectType.ephemeral)
             .filter(p => p.name.toLowerCase().includes(filter) || p.description.toLowerCase().includes(filter));
         return (
             <Table aria-label="Templates" variant={"compact"}>