Skip to content

Commit

Permalink
Merge branch 'rm/372171' into 'master'
Browse files Browse the repository at this point in the history
refactor createOption function to preserve original label value for keywords settings

See merge request kchat/webapp!967
  • Loading branch information
antonbuks committed Nov 25, 2024
2 parents caacac3 + 6c58386 commit fa30eac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export default class RhsNotificationsTab extends React.PureComponent<Props, Stat

createOption = (label: string) => ({
label,
value: label.toLowerCase().replace(/\W/g, ''),
value: label,
});

createInput(props: InputProps) {
Expand Down

0 comments on commit fa30eac

Please sign in to comment.