Beküldés javítása

This commit is contained in:
2025-04-08 17:50:47 +02:00
parent a394c643a2
commit 7720f4944a
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ function renderAnswerType(data) {
return data;
}
function renderAnswerPhoto(data, row) {
if (row.checkListTemplateRowDTO.answerType === 'P' && data.length > 0) {
if ((row.checkListTemplateRowDTO.answerType === 'P' || row.checkListTemplateRowDTO.answerType === 'PN') && 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') {