Added missing tests on ShortUrlsFilteringBar test

This commit is contained in:
Alejandro Celaya
2022-02-26 11:55:35 +01:00
parent 8fd07070b8
commit 248f887fb3
2 changed files with 47 additions and 5 deletions

View File

@@ -73,8 +73,7 @@ const ShortUrlsFilteringBar = (colorGenerator: ColorGenerator) => ({ selectedSer
tooltip={{ placement: 'left' }}
onChange={toggleTagsMode}
>
{tagsMode === 'all' && 'Short URLs including all tags.'}
{tagsMode !== 'all' && 'Short URLs including any tag.'}
{tagsMode === 'all' ? 'Short URLs including all tags.' : 'Short URLs including any tag.'}
</TooltipToggleSwitch>
</div>
)}