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 <firstname.lastname@example.org>
Tested-by: Markus Klein <email@example.com>
Tested-by: Benni Mack <firstname.lastname@example.org>
Reviewed-by: Joerg Kummer <email@example.com>
Reviewed-by: Markus Klein <firstname.lastname@example.org>
Reviewed-by: Benni Mack <email@example.com>
#1 Updated by Gerrit Code Review about 2 months 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