Skip to content

Commit

Permalink
[FEAT/#313] 버튼 활성화 기준 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyobeen-Park committed Jan 4, 2025
1 parent b786182 commit 853b9f0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ fun TerningTab(

private fun checkButtonEnable(currentFilteringInfo: HomeFilteringInfo): Boolean =
with(currentFilteringInfo) {
listOf(grade, workingPeriod, startYear, startMonth).all { it == null } ||
listOf(grade, workingPeriod, startYear, startMonth).none { it == null }
listOf(grade, workingPeriod, startYear, startMonth).all { it == null || it == 0 } ||
listOf(grade, workingPeriod, startYear, startMonth).none { it == null || it == 0 }
}

@Composable
Expand Down

0 comments on commit 853b9f0

Please sign in to comment.