Issues_July_3W #262
@ -122,9 +122,11 @@ const WorkArea = ({ workArea, floor, forBuilding }) => {
|
|||||||
aria-labelledby={`heading-${workArea.id}`}
|
aria-labelledby={`heading-${workArea.id}`}
|
||||||
>
|
>
|
||||||
<div className="accordion-body px-1">
|
<div className="accordion-body px-1">
|
||||||
{isLoading ? (
|
{isLoading || ProjectTaskList === undefined ? (
|
||||||
<div className="text-center py-2 text-muted">Loading activities...</div>
|
<div className="text-center py-2 text-muted">Loading activities...</div>
|
||||||
) : ProjectTaskList?.length > 0 ? (
|
) : ProjectTaskList?.length === 0 ? (
|
||||||
|
<div className="text-center py-2 text-muted">Loading activities...</div>
|
||||||
|
):ProjectTaskList?.length > 0 ? (
|
||||||
<table className="table table-sm mx-1">
|
<table className="table table-sm mx-1">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user