Skip to content

Commit

Permalink
[GEN-1777]: change text in actions modal (#1850)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenElferink authored Nov 25, 2024
1 parent 6cda9b3 commit 7e2e4f1
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,10 @@ const AddClusterInfo: React.FC<Props> = ({ value, setValue }) => {
key: obj.attributeName,
value: obj.attributeStringValue,
})),
[value]
[value],
);

const handleChange = (
arr: {
key: string;
value: string;
}[]
) => {
const handleChange = (arr: { key: string; value: string }[]) => {
const payload: Parsed = {
clusterAttributes: arr.map((obj) => ({
attributeName: obj.key,
Expand All @@ -38,7 +33,7 @@ const AddClusterInfo: React.FC<Props> = ({ value, setValue }) => {
setValue(str);
};

return <KeyValueInputsList title='Attributes to add' required value={mappedValue} onChange={handleChange} />;
return <KeyValueInputsList title='Resource Attributes' required value={mappedValue} onChange={handleChange} />;
};

export default AddClusterInfo;

0 comments on commit 7e2e4f1

Please sign in to comment.