Skip to content

Commit

Permalink
[Roles] fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elena-shostak committed May 15, 2024
1 parent 1899c2b commit e4f5a28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ export const EditRolePage: FunctionComponent<Props> = ({
const onDescriptionChange = (e: ChangeEvent<HTMLInputElement>) =>
setRole({
...role,
description: e.target.value.trim().length ? e.target.value.trim() : undefined,
description: e.target.value.trim().length ? e.target.value : undefined,
});

const getElasticsearchPrivileges = () => {
Expand Down

0 comments on commit e4f5a28

Please sign in to comment.