mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
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:
parent
6e085987e2
commit
ff3ea11fd6
1 changed files with 5 additions and 4 deletions
|
@ -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>
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue