Removing Console.log
This commit is contained in:
parent
9407d5df22
commit
56cc9dba6d
@ -35,9 +35,7 @@ const Dashboard = () => {
|
|||||||
const canRegularize = useHasUserPermission(REGULARIZE_ATTENDANCE);
|
const canRegularize = useHasUserPermission(REGULARIZE_ATTENDANCE);
|
||||||
const canTeamAttendance = useHasUserPermission(TEAM_ATTENDANCE);
|
const canTeamAttendance = useHasUserPermission(TEAM_ATTENDANCE);
|
||||||
const canSelfAttendance = useHasUserPermission(SELF_ATTENDANCE);
|
const canSelfAttendance = useHasUserPermission(SELF_ATTENDANCE);
|
||||||
|
const { data,isLoading,isError } = useGetCollectionOverview();
|
||||||
const { data, isLoading, isError } = useGetCollectionOverview();
|
|
||||||
console.log("data-->", data);
|
|
||||||
return (
|
return (
|
||||||
<div className="container-fluid mt-5">
|
<div className="container-fluid mt-5">
|
||||||
<div className="row gy-4">
|
<div className="row gy-4">
|
||||||
@ -48,15 +46,17 @@ const Dashboard = () => {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<div
|
<div
|
||||||
className={`${!isAllProjectsSelected ? "col-sm-6 col-lg-6" : "col-sm-6 col-lg-4"
|
className={`${
|
||||||
}`}
|
!isAllProjectsSelected ? "col-sm-6 col-lg-6" : "col-sm-6 col-lg-4"
|
||||||
|
}`}
|
||||||
>
|
>
|
||||||
<Teams />
|
<Teams />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
className={`${!isAllProjectsSelected ? "col-sm-6 col-lg-6" : "col-sm-6 col-lg-4"
|
className={`${
|
||||||
}`}
|
!isAllProjectsSelected ? "col-sm-6 col-lg-6" : "col-sm-6 col-lg-4"
|
||||||
|
}`}
|
||||||
>
|
>
|
||||||
<TasksCard />
|
<TasksCard />
|
||||||
</div>
|
</div>
|
||||||
@ -97,11 +97,6 @@ const Dashboard = () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{isAllProjectsSelected && (
|
|
||||||
<div className="col-xxl-6 col-lg-6">
|
|
||||||
<ServiceJobs />
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
<div className="col-md-8">
|
<div className="col-md-8">
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<CollectionOverviewSkeleton />
|
<CollectionOverviewSkeleton />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user