Skip to content

Commit

Permalink
feat: Add FolderSync icon to UpdateDataComponent in update_data.py (l…
Browse files Browse the repository at this point in the history
…angflow-ai#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>
  • Loading branch information
2 people authored and diogocabral committed Nov 26, 2024
1 parent 0bf1a94 commit 5a990c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 2 additions & 0 deletions src/frontend/src/utils/styleUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ import {
FolderIcon,
FolderPlus,
FolderPlusIcon,
FolderSync,
FolderUp,
FormInput,
Forward,
Expand Down Expand Up @@ -897,4 +898,5 @@ export const nodeIconsLucide: iconsType = {
DatabaseZap,
Cog,
ArrowRightLeft,
FolderSync,
};

0 comments on commit 5a990c9

Please sign in to comment.