Compare commits
No commits in common. "af544861d29e35d716e9e7c4c2084206a5f0ac05" and "874f123d4c82498e5584e1e29d4330349be85fb6" have entirely different histories.
af544861d2
...
874f123d4c
@ -39,13 +39,19 @@ const EmpDashboard = ({ profile }) => {
|
|||||||
<i className="icon-base bx bx-buildings icon-lg"></i>
|
<i className="icon-base bx bx-buildings icon-lg"></i>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div className="d-block">
|
||||||
<h6 className="mb-0">{project.projectShortName}</h6>
|
<h6 className="mb-0 d-block">
|
||||||
<small className="text-muted">{project.projectName}</small>
|
{project.projectShortName}
|
||||||
|
</h6>
|
||||||
|
<small className="text-muted">
|
||||||
|
{project.projectName}
|
||||||
|
</small>
|
||||||
<div className="label-secondary">
|
<div className="label-secondary">
|
||||||
Assigned:{" "}
|
Assigned:{" "}
|
||||||
{project.assignedDate ? (
|
{project.assignedDate ? (
|
||||||
new Date(project.assignedDate).toLocaleDateString()
|
new Date(
|
||||||
|
project.assignedDate
|
||||||
|
).toLocaleDateString()
|
||||||
) : (
|
) : (
|
||||||
<em>NA</em>
|
<em>NA</em>
|
||||||
)}
|
)}
|
||||||
@ -60,19 +66,22 @@ const EmpDashboard = ({ profile }) => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Dates */}
|
{/* Dates */}
|
||||||
|
<div className="mt-2 d-flex flex-column flex-sm-row gap-3">
|
||||||
{project.removedDate && (
|
{project.removedDate && (
|
||||||
<div className="mt-2 d-flex flex-column flex-sm-row justify-content-between">
|
|
||||||
<div className="label-secondary">
|
<div className="label-secondary">
|
||||||
Unassigned:{" "}
|
Unassigned:{" "}
|
||||||
{new Date(project.removedDate).toLocaleDateString()}
|
{project.removedDate ? (
|
||||||
</div>
|
new Date(project.removedDate).toLocaleDateString()
|
||||||
|
) : (
|
||||||
|
<em>NA</em>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user