refactor: Split live.ts into multiple files (#1644)
This commit is contained in:
@@ -71,7 +71,7 @@ export class FrigateCardViews extends LitElement {
|
||||
if (changedProps.has('viewManagerEpoch') || changedProps.has('config')) {
|
||||
const view = this.viewManagerEpoch?.manager.getView();
|
||||
if (view?.is('live') || this._shouldLivePreload()) {
|
||||
import('./live/live.js');
|
||||
import('./live/index.js');
|
||||
}
|
||||
if (view?.isGalleryView()) {
|
||||
import('./gallery.js');
|
||||
|
||||
Reference in New Issue
Block a user