Additionnal rename fixes.

This commit is contained in:
Dermot Duffy
2023-02-13 22:11:36 -08:00
parent d54e31e520
commit 36e379aa4d
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -561,7 +561,7 @@ See the [fully expanded media gallery configuration example](#config-expanded-me
| Option | Default | Overridable | Description |
| - | - | - | - |
| `controls` | | :heavy_multiplication_x: | Configuration for the Media viewer controls. See below. |
| `actions` | | :heavy_multiplication_x: | Actions to use for all views that use the `event_gallery` (e.g. `clips`, `snapshots`, `recordings`). See [actions](#actions) below.|
| `actions` | | :heavy_multiplication_x: | Actions to use for all views that use the `media_gallery` (e.g. `clips`, `snapshots`, `recordings`). See [actions](#actions) below.|
#### Media Gallery Controls: Filter
@@ -582,7 +582,7 @@ media_gallery:
All configuration is under:
```yaml
event_gallery:
media_gallery:
controls:
thumbnails:
```
@@ -1148,8 +1148,8 @@ view.
| Configuration path | Views to which it refers |
| - | - |
| `view.actions` | All (may be overriden by the below) |
| `media_gallery.actions` | `clips`, `snapshots`, `recordings` |
| `media_viewer.actions` | `clip`, `snapshot`, `recording` |
| `event_gallery.actions` | `clips`, `snapshots`, `recordings` |
| `live.actions` | `live` |
| `image.actions` | `image` |
@@ -1616,7 +1616,7 @@ media_viewer:
Reference: [Media Gallery Options](#media-gallery-options).
```yaml
event_gallery:
media_gallery:
controls:
filter:
mode: 'right'
+2 -2
View File
@@ -1764,7 +1764,7 @@ class FrigateCard extends LitElement {
if (this._view?.is('live')) {
specificActions = this._getConfig().live.actions;
} else if (this._view?.isGalleryView()) {
specificActions = this._getConfig().event_gallery?.actions;
specificActions = this._getConfig().media_gallery?.actions;
} else if (this._view?.isViewerView()) {
specificActions = this._getConfig().media_viewer.actions;
} else if (this._view?.is('image')) {
@@ -1893,7 +1893,7 @@ class FrigateCard extends LitElement {
? html` <frigate-card-gallery
.hass=${this._hass}
.view=${this._view}
.galleryConfig=${this._getConfig().event_gallery}
.galleryConfig=${this._getConfig().media_gallery}
.cameraManager=${this._cameraManager}
.cardWideConfig=${this._cardWideConfig}
>