diff --git a/photon-client/src/stores/settings/CameraSettingsStore.ts b/photon-client/src/stores/settings/CameraSettingsStore.ts index 356d12faae..861b192ec3 100644 --- a/photon-client/src/stores/settings/CameraSettingsStore.ts +++ b/photon-client/src/stores/settings/CameraSettingsStore.ts @@ -173,7 +173,9 @@ export const useCameraSettingsStore = defineStore("cameraSettings", { settings: Partial, cameraIndex: number = useStateStore().currentCameraIndex ) { - Object.assign(this.cameras[cameraIndex].pipelineSettings, settings); + Object.entries(settings).forEach(([k, v]) => { + this.cameras[cameraIndex].pipelineSettings[k] = v; + }); }, /** * Change the nickname of the currently selected pipeline of the provided camera.