Javítás

This commit is contained in:
2025-04-08 17:46:22 +02:00
parent ac48e676df
commit a394c643a2
6 changed files with 39 additions and 17 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ function renderAnswerType(data) {
return data;
}
function renderAnswerPhoto(data, row) {
if (row.checkListTemplateRowDTO.answerType === 'P') {
if (row.checkListTemplateRowDTO.answerType === 'P' && data.length > 0) {
return `<div class="text-center"><img src="${data}" alt="Image" style="height: 100px; width: auto;" /></div>`;
}
if (row.checkListTemplateRowDTO.answerType === 'SI-N' && data === 'Igen') {