Finish working in report page
This commit is contained in:
parent
b45dc0283c
commit
152d4a257f
@ -135,15 +135,14 @@ export const ViewReport = () => {
|
|||||||
|
|
||||||
<p>{getCorrectDate(dateReport.id)}</p>
|
<p>{getCorrectDate(dateReport.id)}</p>
|
||||||
|
|
||||||
<div onClick={() => nextDay()}>
|
<div
|
||||||
|
onClick={() => nextDay()}
|
||||||
|
className={`${
|
||||||
|
getCreatedDate(currentDay) === dateReport.id ? "disable" : ""
|
||||||
|
}`}
|
||||||
|
>
|
||||||
<Link to={`../view/${getCreatedDate(nextReportDay)}`}>
|
<Link to={`../view/${getCreatedDate(nextReportDay)}`}>
|
||||||
<div
|
<div className={`viewReport__switchDate__next switchDate`}>
|
||||||
className={`viewReport__switchDate__next switchDate ${
|
|
||||||
getCreatedDate(currentDay) === getCreatedDate(nextReportDay)
|
|
||||||
? "disable"
|
|
||||||
: ""
|
|
||||||
}`}
|
|
||||||
>
|
|
||||||
<img src={arrowSwitchDate} alt="arrow" />
|
<img src={arrowSwitchDate} alt="arrow" />
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
|
Loading…
Reference in New Issue
Block a user