From 6dc4599a9b5f2645b2b3000fe9559f677f77ad56 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Wed, 20 Mar 2024 18:28:59 +0100 Subject: [PATCH] Changed icons for other options that are not global variable --- .../GenericNode/components/parameterComponent/index.tsx | 1 + src/frontend/src/components/inputComponent/index.tsx | 3 ++- src/frontend/src/types/components/index.ts | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx index 0ac69afe8..2bc10df64 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx @@ -549,6 +549,7 @@ export default function ParameterComponent({ value={data.node?.template[name].value ?? ""} options={globalVariablesEntries} optionsPlaceholder={"Global Variables"} + optionsIcon="Globe" optionsButton={ diff --git a/src/frontend/src/components/inputComponent/index.tsx b/src/frontend/src/components/inputComponent/index.tsx index 5c0ffe93e..6c3d95f36 100644 --- a/src/frontend/src/components/inputComponent/index.tsx +++ b/src/frontend/src/components/inputComponent/index.tsx @@ -30,6 +30,7 @@ export default function InputComponent({ className, id = "", blurOnEnter = false, + optionsIcon = "ChevronsUpDown", selectedOption, setSelectedOption, options = [], @@ -208,7 +209,7 @@ export default function InputComponent({ )} >