Open more info as default action in entity heading badge

This commit is contained in:
Paul Bottein 2024-09-30 11:08:26 +02:00
parent b6efedfc8d
commit 29a638c56e
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -143,7 +143,7 @@ export class HuiHeadingEntityEditor
name: "tap_action",
selector: {
ui_action: {
default_action: "none",
default_action: "more-info",
},
},
},

View File

@ -43,7 +43,7 @@ export class HuiEntityHeadingBadge
this._config = {
...DEFAULT_CONFIG,
tap_action: {
action: "none",
action: "more-info",
},
...config,
};
@ -52,7 +52,7 @@ export class HuiEntityHeadingBadge
private _handleAction(ev: ActionHandlerEvent) {
const config: EntityHeadingBadgeConfig = {
tap_action: {
action: "none",
action: "more-info",
},
...this._config!,
};