Hide toolbar select items if only 1 option
If only one option is available, there is no sense in having a select field, therefore it should be hidden.
one use case to test:
- a page without translations
[BUGFIX] Show toolbar select only if at least 2 options
Simplify the UI of the toolbar by hiding the select field
if there is only one option to choose from which doesn't make sense.
Tested-by: TYPO3com <email@example.com>
Tested-by: Markus Klein <firstname.lastname@example.org>
Tested-by: Benni Mack <email@example.com>
Reviewed-by: Joerg Kummer <firstname.lastname@example.org>
Reviewed-by: Markus Klein <email@example.com>
Reviewed-by: Benni Mack <firstname.lastname@example.org>
#1 Updated by Gerrit Code Review 5 days ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62517