Fixed the pendingfamilyData
This commit was merged in pull request #633.
This commit is contained in:
@@ -111,7 +111,7 @@ export default function FamilyPending({
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td className="text-right py-4 px-2">
|
||||
<td className="text-right py-4 px-2 flex justify-end items-center">
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => {
|
||||
|
||||
@@ -43,7 +43,7 @@ const FamilyNewWaitlist = ({
|
||||
setContinueTaskPopup({ show: false, data: {} });
|
||||
};
|
||||
|
||||
console.log("Check this >>",currentTask)
|
||||
// console.log("Check this >>",currentTask)
|
||||
|
||||
return (
|
||||
<div
|
||||
@@ -57,7 +57,7 @@ const FamilyNewWaitlist = ({
|
||||
</div>
|
||||
) : (
|
||||
<>
|
||||
{currentTask && (
|
||||
{familyData && (
|
||||
<div className="relative w-full overflow-x-auto sm:rounded-lg flex flex-col justify-between h-full">
|
||||
<table className="w-full text-sm text-left text-gray-500 dark:text-gray-400">
|
||||
<tbody>
|
||||
@@ -66,7 +66,7 @@ const FamilyNewWaitlist = ({
|
||||
const selectedImage = require(`../../../assets/images/family/${
|
||||
value?.banner || "default.jpg"
|
||||
}`);
|
||||
console.log("VALUE", value);
|
||||
// console.log("VALUE", value);
|
||||
// let image = `${familyData.session_image_server}${localStorage.getItem('session_token')}/job/${value.job_uid}`
|
||||
return (
|
||||
<tr
|
||||
@@ -119,7 +119,7 @@ const FamilyNewWaitlist = ({
|
||||
onClick={handlePagination}
|
||||
prev={currentPage === 0}
|
||||
next={currentPage + itemsPerPage >= familyData?.length}
|
||||
data={currentTask}
|
||||
data={familyData}
|
||||
start={indexOfFirstItem}
|
||||
stop={indexOfLastItem}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user