From 48b09b08da6fb5050a9d97611fa2efbc0aa2a988 Mon Sep 17 00:00:00 2001 From: Akira Date: Fri, 29 Aug 2025 21:27:43 +0900 Subject: [PATCH] Debug again no image on manage --- supervisor/html/index.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/supervisor/html/index.html b/supervisor/html/index.html index 29ece15..5fadbc0 100755 --- a/supervisor/html/index.html +++ b/supervisor/html/index.html @@ -929,6 +929,13 @@ setLatePoint(0); const teamData = await teamResponse.json(); const checkinsData = await checkinsResponse.json(); + + // デバッグ: APIレスポンスの内容を確認 + console.log('Checkins API Response:', checkinsData); + if (checkinsData.length > 0) { + console.log('First checkin sample:', checkinsData[0]); + console.log('Image address sample:', checkinsData[0].image_address); + } // ゴール時刻の表示を更新 updateGoalTimeDisplay(teamData.end_datetime); @@ -1001,6 +1008,11 @@ tr.dataset.path_order = index+1; const bgColor = checkin.buy_point > 0 ? 'bg-blue-100' : ''; + // デバッグ: 画像アドレスを確認 + if (checkin.image_address) { + console.log(`CP ${checkin.cp_number}: image_address = ${checkin.image_address}`); + } + tr.innerHTML = `