Skip to content

Commit

Permalink
[Fix] FE UI Label changes (#816)
Browse files Browse the repository at this point in the history
changed UI Labels

Co-authored-by: Deepak K <[email protected]>
  • Loading branch information
jagadeeswaran-zipstack and Deepak-Kesavan authored Oct 30, 2024
1 parent 32b211d commit dd52021
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ function ManageLlmProfiles() {
<SpaceWrapper>
<div>
<Typography.Text className="add-cus-tool-header">
LLM Profiles Manager
LLM Profile Settings
</Typography.Text>
</div>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ function PreAndPostAmbleModal({ type, handleUpdateTool }) {

useEffect(() => {
if (type === fieldNames.preamble) {
setTitle("Preamble");
setTitle("Preamble Settings");
setText(details?.preamble || "");
return;
}

if (type === fieldNames.postamble) {
setTitle("Postamble");
setTitle("Postamble Settings");
setText(details?.postamble || "");
}
}, [type]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ function SettingsModal({ open, setOpen, handleUpdateTool }) {

useEffect(() => {
const items = [
getMenuItem("Manage LLM Profiles", 1, <CodeOutlined />),
getMenuItem("Manage Grammar", 5, <MessageOutlined />),
getMenuItem("LLM Profiles", 1, <CodeOutlined />),
getMenuItem("Grammar", 5, <MessageOutlined />),
getMenuItem("Preamble", 6, <DiffOutlined />),
getMenuItem("Postamble", 7, <DiffOutlined />),
];
Expand All @@ -65,7 +65,7 @@ function SettingsModal({ open, setOpen, handleUpdateTool }) {
items.splice(
position,
0,
getMenuItem("Summary Manager", 2, <FileTextOutlined />)
getMenuItem("SummarizedExtraction", 2, <FileTextOutlined />)
);
listOfComponents[2] = (
<SummarizeManager
Expand All @@ -92,7 +92,7 @@ function SettingsModal({ open, setOpen, handleUpdateTool }) {
items.splice(
position,
0,
getMenuItem("Challenge Manager", 4, <FileTextOutlined />)
getMenuItem("LLMChallenge", 4, <FileTextOutlined />)
);
listOfComponents[4] = (
<ChallengeManager handleUpdateTool={handleUpdateTool} />
Expand Down

0 comments on commit dd52021

Please sign in to comment.