kanban > virtual sample step : fix image for pdf

This commit is contained in:
isUnknown 2024-12-20 10:55:33 +01:00
parent 8c0a347d2c
commit c1328c9150
2 changed files with 9 additions and 1 deletions

View file

@ -12,6 +12,13 @@ import { computed } from "vue";
const { step } = defineProps({ step: Object });
const images = computed(() => {
if (!step.files.dynamic) {
return [
{
url: step.files.static.rawGlass.cover,
},
];
}
return step.files?.dynamic?.map((track) => getFrontView(track)) ?? [];
});