Disabled cameras fixing (#17273)

* Fix case where objects are returned as null

* Fix enabled status not being persisted

* Use config as source of truth when refreshed

* Ensure camera always have config object updated

* Cleanup typing
This commit is contained in:
Nicolas Mowen
2025-03-20 11:20:44 -05:00
committed by GitHub
parent d84fd324b2
commit d4d5c4aac8
7 changed files with 36 additions and 19 deletions
+4 -1
View File
@@ -385,7 +385,10 @@ export default function LivePlayer({
<div
className={cn(
"absolute inset-0 w-full",
showStillWithoutActivity && !liveReady && !isReEnabling
showStillWithoutActivity &&
!liveReady &&
!isReEnabling &&
cameraEnabled
? "visible"
: "invisible",
)}