diff --git a/src/components/Project/Infrastructure/WorkArea.jsx b/src/components/Project/Infrastructure/WorkArea.jsx index 7389f547..c0d9ec7b 100644 --- a/src/components/Project/Infrastructure/WorkArea.jsx +++ b/src/components/Project/Infrastructure/WorkArea.jsx @@ -122,9 +122,11 @@ const WorkArea = ({ workArea, floor, forBuilding }) => { aria-labelledby={`heading-${workArea.id}`} >
- {isLoading ? ( + {isLoading || ProjectTaskList === undefined ? (
Loading activities...
- ) : ProjectTaskList?.length > 0 ? ( + ) : ProjectTaskList?.length === 0 ? ( +
Loading activities...
+ ):ProjectTaskList?.length > 0 ? (