Rename expand_toggle action to expand.

This commit is contained in:
Dermot Duffy
2023-03-13 22:00:43 -07:00
parent 1e4166f811
commit 2e9f5f9b74
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -634,7 +634,7 @@ class FrigateCard extends LitElement {
type: 'custom:frigate-card-menu-icon',
title: localize('config.menu.buttons.expand'),
tap_action: createFrigateCardCustomAction(
'expand_toggle',
'expand',
) as FrigateCardCustomAction,
style: this._expand ? this._getEmphasizedStyle() : {},
});
@@ -1497,7 +1497,7 @@ class FrigateCard extends LitElement {
case 'diagnostics':
this._diagnostics();
break;
case 'expand_toggle':
case 'expand':
this._setExpand(!this._expand);
break;
default: