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:
@@ -88,7 +88,7 @@
|
|||||||
function getLessonOrder(id) {
|
function getLessonOrder(id) {
|
||||||
const index = $lessons.findIndex((lesson) => lesson.id === id);
|
const index = $lessons.findIndex((lesson) => lesson.id === id);
|
||||||
|
|
||||||
if (index < 10) {
|
if (index < 9) {
|
||||||
return '0' + (index + 1);
|
return '0' + (index + 1);
|
||||||
} else {
|
} else {
|
||||||
return index + 1;
|
return index + 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user