fix: Correctly determine whether to show PTZ controls (#1631)
This commit is contained in:
@@ -571,7 +571,7 @@ export class FrigateCardLiveCarousel extends LitElement {
|
||||
: null;
|
||||
const forcePTZVisibility =
|
||||
!this._mediaHasLoaded ||
|
||||
this.viewFilterCameraID !== view.camera ||
|
||||
(!!this.viewFilterCameraID && this.viewFilterCameraID !== view.camera) ||
|
||||
view.context?.ptzControls?.enabled === false
|
||||
? false
|
||||
: view.context?.ptzControls?.enabled;
|
||||
|
||||
Reference in New Issue
Block a user