mirror of
https://github.com/DigiLive/mushroom-strategy.git
synced 2025-08-01 10:54:26 +02:00
Fix Header Card
The header cards in the domain view did not initialize the buttons correctly. They had the default icons and actions of the Header class assigned to them instead of the ones from the specific view class.
This commit is contained in:
@@ -33,8 +33,7 @@ Ready to transform your Home Assistant experience?
|
||||
|
||||
The **Mushroom Dashboard Strategy** is available through HACS (Home Assistant Community Store).
|
||||
|
||||
➡️ *
|
||||
*[Explore the detailed documentation for Installation & Usage Guides!](https://digilive.github.io/mushroom-strategy/)**
|
||||
➡️ **[Explore the detailed documentation for Installation & Usage Guides!](https://digilive.github.io/mushroom-strategy/)**
|
||||
|
||||
---
|
||||
|
||||
|
@@ -151,6 +151,7 @@ abstract class AbstractView {
|
||||
this.baseConfiguration = { ...this.baseConfiguration, ...viewConfiguration, ...customConfiguration };
|
||||
|
||||
this.baseConfiguration.headerCardConfiguration = {
|
||||
...this.baseConfiguration.headerCardConfiguration,
|
||||
showControls:
|
||||
Registry.strategyOptions.domains[this.domain as Exclude<SupportedDomains, 'home'>]?.showControls ??
|
||||
Registry.strategyOptions.domains['_'].showControls,
|
||||
|
Reference in New Issue
Block a user