The Kanban template allows us to see issues under their parent epic...

We can expand or collapse an epic by clicking the little icon to the left of the purple lightning (top left in the screenshot).
However, we only seem to be able to do this to one epic at a time. In Azure DevOps (my previous experience before Jira), we had buttons to expand and collapse all epics in one go...

When you click that, it collapses all epics and changes to "Expand all"
Is there a way of doing this in Jira? With a lot of epics, it becomes a pain doing them one at a time.
Thanks