workspace: Fix read-only pane buttons being clickable even when a no-op (#46065)
The button was clickable for read-only panes even if the underlying item
is not write-toggleable.
Release Notes:
- N/A *or* Added/Fixed/Improved ...
9cdb986fd4Lukas Wirth committed on 1/5/2026, 10:27:46 AM· committed by GitHubparente57285f