Only show header toggle for entities card if title#7525
Conversation
zsarnett
left a comment
There was a problem hiding this comment.
We should make this better in the editor as well. Its weird to toggle options and nothing to happen on the card
This only does something when you didn't toggle it yet |
|
I am not sure I follow. Current the editor needs updated because I can toggle the show Header Toggle and it doesn't show. And there is no way of knowing why unless I read docs. Toggle the dialog and nothing happening is weird If I don't have a title and then I toggle the show header toggle and it doesn't show then that is also weird |
|
Thats not what this code does. Only when there is no show toggle config, it will try to check if we should or should not show the toggle. |
|
The default if the setting is |
Breaking change
Proposed change
We should not show a header toggle as default config if no title is configured.
Before:
After:
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: