From 1fb2d4e849e8ec0134050fb43db01597b98f4f52 Mon Sep 17 00:00:00 2001 From: jagadeeswaran-zipstack Date: Mon, 5 Aug 2024 11:29:14 +0530 Subject: [PATCH] Moved option button to end in prompt card (#542) * moved option button to end in pormpt card * Enable prompt fix --------- Signed-off-by: jagadeeswaran-zipstack Co-authored-by: Gayathri <142381512+gaya3-zipstack@users.noreply.github.com> Co-authored-by: Tahier Hussain <89440263+tahierhussain@users.noreply.github.com> --- frontend/src/components/custom-tools/prompt-card/Header.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/custom-tools/prompt-card/Header.jsx b/frontend/src/components/custom-tools/prompt-card/Header.jsx index 498b23ec1..eba9afde0 100644 --- a/frontend/src/components/custom-tools/prompt-card/Header.jsx +++ b/frontend/src/components/custom-tools/prompt-card/Header.jsx @@ -105,7 +105,7 @@ function Header({ } setItems(dropdownItems); - }, []); + }, [promptDetails]); return ( @@ -210,6 +210,7 @@ function Header({ )} + {isSimplePromptStudio && PromptRunBtnSps && ( - - );