From e208776ea225a777dfd0349310ae18e3e6fbcb44 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Fri, 22 Nov 2024 10:37:50 -0300 Subject: [PATCH] feat: Add FolderSync icon to UpdateDataComponent in update_data.py (#4753) * refactor: Add FolderSync icon to nodeIconsLucide in styleUtils.ts * feat: Add FolderSync icon to UpdateDataComponent in update_data.py * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- src/backend/base/langflow/components/processing/update_data.py | 1 + src/frontend/src/utils/styleUtils.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/backend/base/langflow/components/processing/update_data.py b/src/backend/base/langflow/components/processing/update_data.py index 007d6d721..206c9924f 100644 --- a/src/backend/base/langflow/components/processing/update_data.py +++ b/src/backend/base/langflow/components/processing/update_data.py @@ -19,6 +19,7 @@ class UpdateDataComponent(Component): description: str = "Dynamically update or append data with the specified fields." name: str = "UpdateData" MAX_FIELDS = 15 # Define a constant for maximum number of fields + icon = "FolderSync" inputs = [ DataInput( diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts index 0c3b940a8..36d78df89 100644 --- a/src/frontend/src/utils/styleUtils.ts +++ b/src/frontend/src/utils/styleUtils.ts @@ -88,6 +88,7 @@ import { FolderIcon, FolderPlus, FolderPlusIcon, + FolderSync, FolderUp, FormInput, Forward, @@ -897,4 +898,5 @@ export const nodeIconsLucide: iconsType = { DatabaseZap, Cog, ArrowRightLeft, + FolderSync, };