From f7fbf1465973208e11fa7fd4b59b42f11271d3c1 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Wed, 28 Feb 2024 18:04:28 -0300 Subject: [PATCH] Add Supabase icon to search component --- .../components/vectorstores/SupabaseVectorStoreSearch.py | 1 + src/frontend/src/utils/styleUtils.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/backend/langflow/components/vectorstores/SupabaseVectorStoreSearch.py b/src/backend/langflow/components/vectorstores/SupabaseVectorStoreSearch.py index 493632fe9..3a57f7951 100644 --- a/src/backend/langflow/components/vectorstores/SupabaseVectorStoreSearch.py +++ b/src/backend/langflow/components/vectorstores/SupabaseVectorStoreSearch.py @@ -11,6 +11,7 @@ from langflow.schema import Record class SupabaseSearchComponent(LCVectorStoreComponent): display_name = "Supabase Search" description = "Search a Supabase Vector Store for similar documents." + icon="Supabase" def build_config(self): return { diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts index c43081381..2cd74d6d1 100644 --- a/src/frontend/src/utils/styleUtils.ts +++ b/src/frontend/src/utils/styleUtils.ts @@ -294,6 +294,7 @@ export const nodeIconsLucide: iconsType = { Searx: SearxIcon, SlackDirectoryLoader: SvgSlackIcon, SupabaseVectorStore: SupabaseIcon, + Supabase: SupabaseIcon, VertexAI: VertexAIIcon, ChatVertexAI: VertexAIIcon, VertexAIEmbeddings: VertexAIIcon,