Skip to content

Commit

Permalink
Fix creating modnotes with no label (#941)
Browse files Browse the repository at this point in the history
  • Loading branch information
eritbh committed May 14, 2024
1 parent 9174676 commit 4e6771f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/data/modules/modnotes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ function ModNotesPopup ({
className='tb-action-button tb-modnote-label-select'
defaultValue={defaultNoteLabelValueToLabelType[defaultNoteLabel]}
>
<option value={undefined}>(no label)</option>
<option value=''>(no label)</option>
{Object.entries(labelNames).reverse().map(([value, name]) => (
<option key={value} value={value}>{name}</option>
))}
Expand Down

0 comments on commit 4e6771f

Please sign in to comment.