settings_block.vue: `Collapse` button is still shown when it's not possible to collapse section
The following discussion from !68707 (merged) should be addressed:
-
@tomquirk started a discussion: issue (non-blocking): while testing this I discovered something potentially problematic. It appears the
defaultExpanded
is being used as a "forcing" flag; whentrue
the section is always expanded. This isn't necessarily a problem, except that theCollapse
button is still visible even though it's impossible to collapse the section🙈 .- refactor
defaultExpanded
prop behavior to set the initialsectionExpanded
state - Introduce a new prop
collapsible
(default totrue
), that hides the collapse button
Let's address this in a follow-up.
- refactor