Merge pull request #9859 from overleaf/ab-restore-tag-names-dropdown

[web] Restore tag names in the tags dropdown

GitOrigin-RevId: eae4368c3726d22c9e6c96dce9e35a6ce1e462fb
This commit is contained in:
Miguel Serrano 2022-10-05 15:18:21 +02:00 committed by Copybot
parent 6e085987e2
commit ff3ea11fd6

View file

@ -95,6 +95,9 @@ function TagsDropdown() {
? handleRemoveTagFromSelectedProjects(e, tag._id)
: handleAddTagToSelectedProjects(e, tag._id)
}
aria-label={t('add_or_remove_project_from_tag', {
tagName: tag.name,
})}
>
<Icon
type={
@ -104,10 +107,8 @@ function TagsDropdown() {
? 'minus-square-o'
: 'square-o'
}
/>
<span className="sr-only">
{t('add_or_remove_project_from_tag', { tagName: tag.name })}
</span>
/>{' '}
{tag.name}
</Button>
</li>
)