From f55d922d023748bcd186941b10ec5474d945c46d Mon Sep 17 00:00:00 2001 From: Mutasem Aldmour Date: Wed, 30 Oct 2024 14:19:06 +0100 Subject: [PATCH] fix --- packages/editor-ui/src/views/WorkflowsView.vue | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/editor-ui/src/views/WorkflowsView.vue b/packages/editor-ui/src/views/WorkflowsView.vue index f52d3cca0f..904af05a63 100644 --- a/packages/editor-ui/src/views/WorkflowsView.vue +++ b/packages/editor-ui/src/views/WorkflowsView.vue @@ -97,12 +97,9 @@ const isShareable = computed( ); const nodeTypesFiltered = computed(() => - nodeTypesStore.allLatestNodeTypes.filter((nodeType) => { - return ( - nodeType.displayName.toLowerCase().includes(nodeTypesFilter.value) || - nodeType.name.toLowerCase().includes(nodeTypesFilter.value) - ); - }), + nodeTypesStore.allLatestNodeTypes.filter((nodeType) => + nodeType.displayName.toLowerCase().includes(nodeTypesFilter.value), + ), ); const statusFilterOptions = computed(() => [