update select month in timekeeping page

This commit is contained in:
Joseph 2025-01-02 07:36:39 +07:00
parent af52952946
commit eb5c6e655f
1 changed files with 1 additions and 3 deletions

View File

@ -655,9 +655,7 @@ const Timekeeping = () => {
data={Array.from({ length: 12 }, (_, index) => { data={Array.from({ length: 12 }, (_, index) => {
return { return {
value: (1 + index).toString(), value: (1 + index).toString(),
label: (1 + index).toString(), label: (1 + index).toString()
disabled:
1 + index > parseInt(moment(Date.now()).format('MM')),
} }
})} })}
onChange={(e) => { onChange={(e) => {