Compare commits
4 Commits
818725fba4
...
e252c909db
Author | SHA1 | Date | |
---|---|---|---|
e252c909db | |||
48f013edd5 | |||
21b2feb13f | |||
27cf6f2703 |
@ -184,10 +184,7 @@ const WorkArea = ({ workArea, floor, forBuilding }) => {
|
|||||||
Category
|
Category
|
||||||
</th>
|
</th>
|
||||||
<th className="infra-activity-table-header d-none d-md-table-cell">
|
<th className="infra-activity-table-header d-none d-md-table-cell">
|
||||||
Planned
|
Completed/Planned
|
||||||
</th>
|
|
||||||
<th className="infra-activity-table-header d-none d-md-table-cell">
|
|
||||||
Completed
|
|
||||||
</th>
|
</th>
|
||||||
<th className="infra-activity-table-header">
|
<th className="infra-activity-table-header">
|
||||||
Progress
|
Progress
|
||||||
|
@ -177,22 +177,16 @@ const WorkItem = ({
|
|||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
{/* Planned - visible on medium and above */}
|
|
||||||
<td className="text-center d-none d-md-table-cell">
|
<td className="text-center d-none d-md-table-cell">
|
||||||
{hasWorkItem
|
{hasWorkItem ? (
|
||||||
? NewWorkItem?.workItem?.plannedWork ??
|
`${NewWorkItem?.workItem?.completedWork ??
|
||||||
workItem?.plannedWork ??
|
|
||||||
"NA"
|
|
||||||
: "NA"}
|
|
||||||
</td>
|
|
||||||
|
|
||||||
{/* Completed - visible on medium and above */}
|
|
||||||
<td className="text-center d-none d-md-table-cell">
|
|
||||||
{hasWorkItem
|
|
||||||
? NewWorkItem?.workItem?.completedWork ??
|
|
||||||
workItem?.completedWork ??
|
workItem?.completedWork ??
|
||||||
|
"0"}/${NewWorkItem?.workItem?.plannedWork ??
|
||||||
|
workItem?.plannedWork ??
|
||||||
|
"0"}`
|
||||||
|
) : (
|
||||||
"NA"
|
"NA"
|
||||||
: "NA"}
|
)}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
{/* Progress Bar - always visible */}
|
{/* Progress Bar - always visible */}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user