Recalculate grid for a slot change.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
// TODO: Video scanning not select other camera?
|
||||
// TODO: Drag from live results in different cameras being shown in timeline in media viewer?
|
||||
// TODO: It's possible to get a single entry in the grid, rendered without the
|
||||
// grid (correctly), but still with isGrid so the menu button still shows the
|
||||
// take it out of grid mode option.
|
||||
|
||||
import {
|
||||
CSSResultGroup,
|
||||
@@ -43,6 +46,7 @@ export class FrigateCardMediaGrid extends LitElement {
|
||||
if (!this._controller && this._refSlot.value) {
|
||||
this._controller = new MediaGridController(this._refSlot.value, {
|
||||
selected: this.selected,
|
||||
displayConfig: this.displayConfig,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user