mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-30 02:31:40 +00:00
Fix camera setup modal not closing and navigation not working (#1979)
This commit is contained in:
@@ -26,6 +26,12 @@ export const useCameraSettingsStore = defineStore("cameraSettings", {
|
||||
cameras: { [PlaceholderCameraSettings.uniqueName]: PlaceholderCameraSettings }
|
||||
}),
|
||||
getters: {
|
||||
needsCameraConfiguration(): boolean {
|
||||
return (
|
||||
JSON.stringify(useCameraSettingsStore().cameras[PlaceholderCameraSettings.uniqueName]) ===
|
||||
JSON.stringify(PlaceholderCameraSettings)
|
||||
);
|
||||
},
|
||||
// TODO update types to update this value being undefined. This would be a decently large change.
|
||||
currentCameraSettings(): UiCameraConfiguration {
|
||||
const currentCameraUniqueName = useStateStore().currentCameraUniqueName;
|
||||
|
||||
Reference in New Issue
Block a user