Skip to content

Commit

Permalink
Improve code for choose formatters
Browse files Browse the repository at this point in the history
Fixes #4662
  • Loading branch information
CarolineDenis committed Mar 18, 2024
1 parent bda5a1e commit cd10701
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -80,7 +80,7 @@ export function QueryFieldFormatter({
<div>
<Select
aria-label={queryText.chooseFormatter()}
className={`${customSelectElementBackground}`}
className={customSelectElementBackground}
disabled={handleChange === undefined}
id={id('list')}
value={formatter}
Expand All @@ -89,7 +89,7 @@ export function QueryFieldFormatter({
<option />
{availableFormatters.map(({ name, title, isDefault }, index) => (
<option key={index} value={name}>
{title} {isDefault ? resourcesText.defaultInline() : ''}
{`${title} ${isDefault ? resourcesText.defaultInline() : ''}`}
</option>
))}
</Select>
Expand Down

0 comments on commit cd10701

Please sign in to comment.