Skip to content

Commit

Permalink
Merge branch 'develop' into fix/notice-prevNext-isDeleted
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeryboy authored Sep 22, 2023
2 parents 51230b9 + 3ad4b91 commit 355a1d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ class SeminarRepositoryImpl(

for (i: Int in 0 until seminarEntityList.size) {
var isYearLast = false
if (i == seminarEntityList.size - 1) {
if (i == 0) {
isYearLast = true
} else if (seminarEntityList[i].startDate?.year != seminarEntityList[i + 1].startDate?.year) {
} else if (seminarEntityList[i].startDate?.year != seminarEntityList[i - 1].startDate?.year) {
isYearLast = true
}

Expand Down

0 comments on commit 355a1d7

Please sign in to comment.