mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 20:26:39 +00:00
Open more info as default action in entity heading badge
This commit is contained in:
parent
b6efedfc8d
commit
29a638c56e
@ -143,7 +143,7 @@ export class HuiHeadingEntityEditor
|
|||||||
name: "tap_action",
|
name: "tap_action",
|
||||||
selector: {
|
selector: {
|
||||||
ui_action: {
|
ui_action: {
|
||||||
default_action: "none",
|
default_action: "more-info",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -43,7 +43,7 @@ export class HuiEntityHeadingBadge
|
|||||||
this._config = {
|
this._config = {
|
||||||
...DEFAULT_CONFIG,
|
...DEFAULT_CONFIG,
|
||||||
tap_action: {
|
tap_action: {
|
||||||
action: "none",
|
action: "more-info",
|
||||||
},
|
},
|
||||||
...config,
|
...config,
|
||||||
};
|
};
|
||||||
@ -52,7 +52,7 @@ export class HuiEntityHeadingBadge
|
|||||||
private _handleAction(ev: ActionHandlerEvent) {
|
private _handleAction(ev: ActionHandlerEvent) {
|
||||||
const config: EntityHeadingBadgeConfig = {
|
const config: EntityHeadingBadgeConfig = {
|
||||||
tap_action: {
|
tap_action: {
|
||||||
action: "none",
|
action: "more-info",
|
||||||
},
|
},
|
||||||
...this._config!,
|
...this._config!,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user