From ab09e7fa149b2a5555bf8c6a01c22dce86198048 Mon Sep 17 00:00:00 2001 From: 42 <37006258+MirrorCY@users.noreply.github.com> Date: Tue, 10 Mar 2026 23:04:43 +0800 Subject: [PATCH] Fix offline dev update confirm handler not starting upload (#2393) Fixes a bug where offline update did not start after confirming the dev-version warning dialog. The confirm action was using an incorrect file reference in template context, so the selected JAR was not passed correctly to the upload handler. The dialog closed, but no upload request was sent. This change corrects the confirm handler so the selected file is passed properly and the upload/install flow starts as expected. --- photon-client/src/components/settings/DeviceCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photon-client/src/components/settings/DeviceCard.vue b/photon-client/src/components/settings/DeviceCard.vue index ac0f925fd..69482bd7f 100644 --- a/photon-client/src/components/settings/DeviceCard.vue +++ b/photon-client/src/components/settings/DeviceCard.vue @@ -555,7 +555,7 @@ watch(metricsHistorySnapshot, () => { :variant="theme.global.name.value === 'LightTheme' ? 'elevated' : 'outlined'" @click=" offlineUpdateDialog.show = false; - handleOfflineUpdate(offlineUpdate.value.files[0]); + handleOfflineUpdate(offlineUpdate.files[0]); " > mdi-upload