From a9c26202a06498e87370b1e63608d89c062b4fd5 Mon Sep 17 00:00:00 2001 From: Sam Freund Date: Sat, 28 Jun 2025 16:09:35 -0500 Subject: [PATCH] Fix logic for no cameras detected modal (#1978) fixes #1977 Previously, the logic was checking for the camera object to be the same as the placeholder camera object. Logic has been changed to check only the name of the camera object. --- photon-client/src/views/DashboardView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photon-client/src/views/DashboardView.vue b/photon-client/src/views/DashboardView.vue index ed90f021f..4c9a0c229 100644 --- a/photon-client/src/views/DashboardView.vue +++ b/photon-client/src/views/DashboardView.vue @@ -43,7 +43,7 @@ const cameraViewType = computed({ const warningShown = computed(() => { return ( Object.values(useCameraSettingsStore().cameras).length === 0 || - useCameraSettingsStore().cameras["Placeholder Name"] === PlaceholderCameraSettings + PlaceholderCameraSettings.nickname === useCameraSettingsStore().currentCameraName ); });