Replace accidental Python variable naming convention.

This commit is contained in:
Dermot Duffy
2021-09-24 07:48:57 -07:00
parent fee4d209c9
commit f9cd424388
+5 -5
View File
@@ -419,22 +419,22 @@ export class FrigateCard extends LitElement {
} }
const padding = this._getAspectRatioPadding(); const padding = this._getAspectRatioPadding();
let container_style_map = {}; let containerStyleMap = {};
if (padding != null) { if (padding != null) {
container_style_map = { containerStyleMap = {
'padding-top': `${padding}%`, 'padding-top': `${padding}%`,
}; };
} }
const content_classes = { const contentClasses = {
'frigate-card-contents': true, 'frigate-card-contents': true,
absolute: padding != null, absolute: padding != null,
}; };
return html` <ha-card @click=${this._interactionHandler}> return html` <ha-card @click=${this._interactionHandler}>
${this.config.menu_mode == 'above' ? this._renderMenu() : ''} ${this.config.menu_mode == 'above' ? this._renderMenu() : ''}
<div class="container outer" style="${styleMap(container_style_map)}"> <div class="container outer" style="${styleMap(containerStyleMap)}">
<div class="${classMap(content_classes)}"> <div class="${classMap(contentClasses)}">
${this._view.is('clips') || this._view.is('snapshots') ${this._view.is('clips') || this._view.is('snapshots')
? html` <frigate-card-gallery ? html` <frigate-card-gallery
.hass=${this._hass} .hass=${this._hass}