Skip to content

Commit

Permalink
Moved option button to end in prompt card (#542)
Browse files Browse the repository at this point in the history
* moved option button to end in pormpt card

* Enable prompt fix

---------

Signed-off-by: jagadeeswaran-zipstack <[email protected]>
Co-authored-by: Gayathri <[email protected]>
Co-authored-by: Tahier Hussain <[email protected]>
  • Loading branch information
3 people authored Aug 5, 2024
1 parent bff7619 commit 1fb2d4e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/src/components/custom-tools/prompt-card/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function Header({
}

setItems(dropdownItems);
}, []);
}, [promptDetails]);

return (
<Row>
Expand Down Expand Up @@ -210,6 +210,7 @@ function Header({
</Tooltip>
</>
)}
<ExpandCardBtn expandCard={expandCard} setExpandCard={setExpandCard} />
{isSimplePromptStudio && PromptRunBtnSps && (
<PromptRunBtnSps
spsLoading={spsLoading}
Expand All @@ -227,8 +228,6 @@ function Header({
<MoreOutlined className="prompt-card-actions-head" />
</Button>
</Dropdown>

<ExpandCardBtn expandCard={expandCard} setExpandCard={setExpandCard} />
</Col>
</Row>
);
Expand Down

0 comments on commit 1fb2d4e

Please sign in to comment.