From 9cc3cfb63ec7bdf8ffd72340ca65b848a398751f Mon Sep 17 00:00:00 2001 From: lyzno1 Date: Fri, 17 Oct 2025 21:28:57 +0800 Subject: [PATCH] fix: hide footer from all start block when search not found --- .../block-selector/all-start-blocks.tsx | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/web/app/components/workflow/block-selector/all-start-blocks.tsx b/web/app/components/workflow/block-selector/all-start-blocks.tsx index 61b454e996..20a52000d4 100644 --- a/web/app/components/workflow/block-selector/all-start-blocks.tsx +++ b/web/app/components/workflow/block-selector/all-start-blocks.tsx @@ -107,15 +107,17 @@ const AllStartBlocks = ({ )} - {/* Footer - Same as Tools tab marketplace footer */} - - {t('plugin.findMoreInMarketplace')} - - + {!shouldShowEmptyState && ( + // Footer - Same as Tools tab marketplace footer + + {t('plugin.findMoreInMarketplace')} + + + )} )