Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
Merge branch 'develop' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
FPT-NMTung committed Dec 27, 2022
2 parents 4bcc224 + e7bb349 commit 0b1b057
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions front-end/src/screens/Sro/DayOff/ManageDayOff.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -411,16 +411,16 @@ const ManageDayOff = () => {
</Text>
</Grid>
<Grid xs={4} justify={'flex-end'}>
<Button
{new Date(selectedValue) - new Date(moment()) > 0 && <Button
size={'sm'}
flat
auto
onPress={() => {
setIsOpenCreateDayOff(true);
}}
>
+ Thêm lịch nghỉ
</Button>
+ Thêm ngày nghỉ
</Button>}
</Grid>
</Grid.Container>
</Card.Header>
Expand Down

0 comments on commit 0b1b057

Please sign in to comment.