Compare commits
No commits in common. "e252c909dbb1496a31c377e94773fc03d721aa4c" and "818725fba48cc90daa17b969ed42315dd6fbfe4c" have entirely different histories.
e252c909db
...
818725fba4
@ -184,7 +184,10 @@ const WorkArea = ({ workArea, floor, forBuilding }) => {
|
||||
Category
|
||||
</th>
|
||||
<th className="infra-activity-table-header d-none d-md-table-cell">
|
||||
Completed/Planned
|
||||
Planned
|
||||
</th>
|
||||
<th className="infra-activity-table-header d-none d-md-table-cell">
|
||||
Completed
|
||||
</th>
|
||||
<th className="infra-activity-table-header">
|
||||
Progress
|
||||
|
||||
@ -177,16 +177,22 @@ const WorkItem = ({
|
||||
</span>
|
||||
</td>
|
||||
|
||||
{/* Planned - visible on medium and above */}
|
||||
<td className="text-center d-none d-md-table-cell">
|
||||
{hasWorkItem ? (
|
||||
`${NewWorkItem?.workItem?.completedWork ??
|
||||
workItem?.completedWork ??
|
||||
"0"}/${NewWorkItem?.workItem?.plannedWork ??
|
||||
{hasWorkItem
|
||||
? NewWorkItem?.workItem?.plannedWork ??
|
||||
workItem?.plannedWork ??
|
||||
"0"}`
|
||||
) : (
|
||||
"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 ??
|
||||
"NA"
|
||||
: "NA"}
|
||||
</td>
|
||||
|
||||
{/* Progress Bar - always visible */}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user