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()}>
|
|
||||||
<Link to={`../view/${getCreatedDate(nextReportDay)}`}>
|
|
||||||
<div
|
<div
|
||||||
className={`viewReport__switchDate__next switchDate ${
|
onClick={() => nextDay()}
|
||||||
getCreatedDate(currentDay) === getCreatedDate(nextReportDay)
|
className={`${
|
||||||
? "disable"
|
getCreatedDate(currentDay) === dateReport.id ? "disable" : ""
|
||||||
: ""
|
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
|
<Link to={`../view/${getCreatedDate(nextReportDay)}`}>
|
||||||
|
<div className={`viewReport__switchDate__next switchDate`}>
|
||||||
<img src={arrowSwitchDate} alt="arrow" />
|
<img src={arrowSwitchDate} alt="arrow" />
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
|
Loading…
Reference in New Issue
Block a user