From e6c855fdd975327cd7aa18416bc86cd00115f80f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Santanch=C3=A8?= Date: Wed, 13 Sep 2023 22:04:20 -0300 Subject: [PATCH] fix (engsw): test extended --- src/adonisjs/public/author/env/inf331_2023/js/lab-progress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adonisjs/public/author/env/inf331_2023/js/lab-progress.js b/src/adonisjs/public/author/env/inf331_2023/js/lab-progress.js index 70263555..7f148b20 100644 --- a/src/adonisjs/public/author/env/inf331_2023/js/lab-progress.js +++ b/src/adonisjs/public/author/env/inf331_2023/js/lab-progress.js @@ -248,7 +248,7 @@ } if (labExpired){ - if (Object.keys(labList).length >= i){ + if (Object.keys(labList).length > i){ if (labList[i]['extendPeriod'] != null){ if((this.setDateToISO((labList[i]['extendPeriod'])) > this.setDateToISO(currentDate))){ labExtended = true