Skip to content

Commit c7c5d8f

Browse files
committed
Displaying new Cycle
1 parent 18c7626 commit c7c5d8f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

dr-patient-view-lib.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ function getLineForEvent (event, questionaryId) {
8080
const selected = field.options.find((o) => ( o.value === line.value ));
8181
line.description = selected?.label;
8282
}
83+
if (field.type === 'checkbox') {
84+
if (event.type === 'activity/plain') {
85+
line.description = 'X';
86+
line.value = 'x';
87+
}
88+
}
8389
}
8490
return line;
8591
}

0 commit comments

Comments
 (0)