Issues_July_3W #262

Merged
vikas.nale merged 13 commits from Issues_July_3W into main 2025-07-17 11:50:25 +00:00
Showing only changes of commit 6bf33b27a0 - Show all commits

View File

@ -122,9 +122,11 @@ const WorkArea = ({ workArea, floor, forBuilding }) => {
aria-labelledby={`heading-${workArea.id}`}
>
<div className="accordion-body px-1">
{isLoading ? (
{isLoading || ProjectTaskList === undefined ? (
<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">
<thead>
<tr>