Skip to content

Commit 89e48a8

Browse files
committed
Fix create date
1 parent 5fc367d commit 89e48a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

patient-home-controler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ async function showFormDetails(formInfo) {
111111
}
112112
patientLib.navSetData(navData);
113113

114+
const nextPage = (await patientLib.navGetPages(formInfo.questionaryId))[1].url;
114115
if (formDetails.status === 'accepted') {
115116
buttonOpen.innerHTML = 'Open';
116-
const nextPage = (await patientLib.navGetPages(formInfo.questionaryId))[1].url;
117117
buttonOpen.onclick = async function () {
118118
// -- hack publish access anyway (this should be done just once)
119119
await patientHomeLib.publishAccess(formDetails);

0 commit comments

Comments
 (0)