CLASSROOMIO-T-134: Index number change

Co-authored-by: Tunji Adeyemi <tunji@digdippa.com>


Merge-request: CLASSROOMIO-MR-59
Merged-by: Best Admin <best@digdippa.com>
This commit is contained in:
tunny17
2023-08-28 13:06:03 +00:00
committed by Space Cloud
parent b191ea68ba
commit a3132371a1
+1 -1
View File
@@ -88,7 +88,7 @@
function getLessonOrder(id) {
const index = $lessons.findIndex((lesson) => lesson.id === id);
if (index < 10) {
if (index < 9) {
return '0' + (index + 1);
} else {
return index + 1;