mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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)
|
? handleRemoveTagFromSelectedProjects(e, tag._id)
|
||||||
: handleAddTagToSelectedProjects(e, tag._id)
|
: handleAddTagToSelectedProjects(e, tag._id)
|
||||||
}
|
}
|
||||||
|
aria-label={t('add_or_remove_project_from_tag', {
|
||||||
|
tagName: tag.name,
|
||||||
|
})}
|
||||||
>
|
>
|
||||||
<Icon
|
<Icon
|
||||||
type={
|
type={
|
||||||
|
@ -104,10 +107,8 @@ function TagsDropdown() {
|
||||||
? 'minus-square-o'
|
? 'minus-square-o'
|
||||||
: 'square-o'
|
: 'square-o'
|
||||||
}
|
}
|
||||||
/>
|
/>{' '}
|
||||||
<span className="sr-only">
|
{tag.name}
|
||||||
{t('add_or_remove_project_from_tag', { tagName: tag.name })}
|
|
||||||
</span>
|
|
||||||
</Button>
|
</Button>
|
||||||
</li>
|
</li>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue