List of steps to reproduce (step by step, including full links if applicable):
- open a multi-part template
- delete the last/first template
- repeat deleting the last/first parameter
What happens?:
When deleting the last parameter:
The template search appears but switching the view is not possible anymore.
When deleting the first parameter:
The deletion of the last element is not possible because the delete button is inactive.
What should have happened instead?:
All parameters should be deleted. The template search appears and switching the view is possible.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
new sidebar

