Skip to content
Snippets Groups Projects
Commit 4e16d28b authored by Moritz Stückler's avatar Moritz Stückler :cowboy:
Browse files

debug: more debug output

parent fc921edb
No related branches found
No related tags found
No related merge requests found
Pipeline #7104 passed
......@@ -75,23 +75,22 @@ if (files) {
}
processedImages = mapCaptions(images, processedSliderCaptions);
} else {
console.log("Else processing");
// Extract only path from passed objects
images = loadImages(
false,
exclude,
files.map((file) => {
if (typeof file !== "string") {
return file.img;
}
return file;
})
);
const filesInput = files.map((file) => {
if (typeof file !== "string") {
return file.img;
}
return file;
});
console.log("Files input", filesInput);
images = loadImages(false, exclude, filesInput);
const passedInCaptions = files.filter(
(file) => typeof file !== "string"
) as ISlide[];
console.log("Else processing");
console.log("images", images);
processedImages = mapCaptions(
images,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment