Debug again no image on manage
This commit is contained in:
@ -930,6 +930,13 @@
|
||||
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);
|
||||
original_goal_time = 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 = `
|
||||
<td class="px-1 py-3 cursor-move">
|
||||
<i class="fas fa-bars text-gray-400"></i>
|
||||
|
||||
Reference in New Issue
Block a user