diff --git a/static/koboldai.js b/static/koboldai.js index f8f9fd50..358d3120 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -7063,6 +7063,8 @@ async function showScreenshotWizard(actionComposition, startDebt, endDebt) { screenshotImagePicker.innerHTML = ""; for (const image of imageData) { + if (!image) continue; + const imgContainer = $e("div", screenshotImagePicker, {classes: ["img-container"]}); const checkbox = $e("input", imgContainer, {type: "checkbox"}); const imageEl = $e("img", imgContainer, {