We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b7c9ce commit 81900e7Copy full SHA for 81900e7
1 file changed
photon-client/src/components/cameras/CameraCalibrationCard.vue
@@ -99,7 +99,8 @@ watchEffect(() => {
99
const names = useCameraSettingsStore().currentCameraSettings.validVideoFormats.map((f) =>
100
getResolutionString(f.resolution)
101
);
102
- uniqueVideoResolutionString.value = names[currentIndex] ?? names[0] ?? "";
+ const lastIndex = names.lastIndexOf("");
103
+ uniqueVideoResolutionString.value = names[currentIndex] ?? names[lastIndex] ?? "";
104
});
105
const squareSizeIn = ref(1);
106
const markerSizeIn = ref(0.75);
0 commit comments