mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 01:36:49 +00:00
Show notification indicator in forced mobile mode (#3420)
This commit is contained in:
parent
0f6d0b164f
commit
c3118eada9
@ -44,7 +44,7 @@ class HaMenuButton extends LitElement {
|
|||||||
|
|
||||||
protected render(): TemplateResult | void {
|
protected render(): TemplateResult | void {
|
||||||
const hasNotifications =
|
const hasNotifications =
|
||||||
this.narrow &&
|
(this.narrow || this.hass.dockedSidebar === "always_hidden") &&
|
||||||
(this._hasNotifications ||
|
(this._hasNotifications ||
|
||||||
Object.keys(this.hass.states).some(
|
Object.keys(this.hass.states).some(
|
||||||
(entityId) => computeDomain(entityId) === "configurator"
|
(entityId) => computeDomain(entityId) === "configurator"
|
||||||
@ -131,9 +131,10 @@ class HaMenuButton extends LitElement {
|
|||||||
background-color: var(--accent-color);
|
background-color: var(--accent-color);
|
||||||
width: 12px;
|
width: 12px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
top: 8px;
|
top: 5px;
|
||||||
right: 5px;
|
right: 2px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
border: 2px solid var(--primary-color);
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user