Allow dragging/swiping to be disabled.

This commit is contained in:
Dermot Duffy
2021-11-06 15:24:51 -07:00
parent 9240264db0
commit 15266be2d7
5 changed files with 17 additions and 1 deletions
+11
View File
@@ -585,6 +585,17 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
@change=${this._valueChangedHandler}
></ha-switch>
</ha-formfield>
<ha-formfield .label=${localize('config.event_viewer.draggable')}>
<ha-switch
.checked=${getConfigValue(
this._config,
'event_viewer.draggable',
defaults.event_viewer.draggable,
)}
.configValue=${'event_viewer.draggable'}
@change=${this._valueChangedHandler}
></ha-switch>
</ha-formfield>
<ha-formfield .label=${localize('config.event_viewer.lazy_load')}>
<ha-switch
.checked=${getConfigValue(