common header removed for family account on my task page
This commit was merged in pull request #242.
This commit is contained in:
@@ -10,27 +10,27 @@ import usersService from "../../services/UsersService";
|
|||||||
|
|
||||||
|
|
||||||
export default function ParentWaitingTable() {
|
export default function ParentWaitingTable() {
|
||||||
const transationFilterData = [
|
// const transationFilterData = [
|
||||||
{
|
// {
|
||||||
id: 1,
|
// id: 1,
|
||||||
name: "all",
|
// name: "all",
|
||||||
uniqueId: Math.random(),
|
// uniqueId: Math.random(),
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
id: 2,
|
// id: 2,
|
||||||
name: "send",
|
// name: "send",
|
||||||
uniqueId: Math.random(),
|
// uniqueId: Math.random(),
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
id: 3,
|
// id: 3,
|
||||||
name: "recent",
|
// name: "recent",
|
||||||
uniqueId: Math.random(),
|
// uniqueId: Math.random(),
|
||||||
},
|
// },
|
||||||
];
|
// ];
|
||||||
const [filterActive, setValue] = useState(transationFilterData[0].id);
|
// const [filterActive, setValue] = useState(transationFilterData[0].id);
|
||||||
const filterHander = (value) => {
|
// const filterHander = (value) => {
|
||||||
setValue(value);
|
// setValue(value);
|
||||||
};
|
// };
|
||||||
|
|
||||||
const apiCall = new usersService()
|
const apiCall = new usersService()
|
||||||
|
|
||||||
@@ -93,7 +93,7 @@ export default function ParentWaitingTable() {
|
|||||||
<img src={transaction1} alt="" className="" />
|
<img src={transaction1} alt="" className="" />
|
||||||
</div>
|
</div>
|
||||||
<div className="">
|
<div className="">
|
||||||
<p className="text-lg text-dark-gray dark:text-white font-medium mb-[.5px]">
|
<p className="text-xl font-bold text-dark-gray dark:text-white mb-2 capitalize line-clamp-1">
|
||||||
{item.title}
|
{item.title}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -102,12 +102,12 @@ export default function ParentWaitingTable() {
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="">
|
<div className="px-2">
|
||||||
<p className="px-2 text-sm font-bold text-dark-gray dark:text-white">
|
<p className="text-sm font-bold text-dark-gray dark:text-white">
|
||||||
{new Date(item.added).toLocaleString().split(',')[0]}
|
{new Date(item.added).toLocaleString().split(',')[0]}
|
||||||
{/* {item.added} */}
|
|
||||||
</p>
|
</p>
|
||||||
{/* <p className="usd text-base text-light-green text-right"></p> */}
|
<p className="text-sm text-dark-gray dark:text-white">Status: {item.status}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ export default function MyJobTable({ className, ActiveJobList, Account }) {
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={`p-2 font-bold text-3xl ${
|
className={`p-2 font-bold text-3xl ${
|
||||||
accountType ? "text-white" : "text-purple"
|
accountType ? "text-white" : "text-sky-blue"
|
||||||
} whitespace-nowrap`}
|
} whitespace-nowrap`}
|
||||||
>
|
>
|
||||||
You currently have {accountType ? '"0"' : "no"} task
|
You currently have {accountType ? '"0"' : "no"} task
|
||||||
|
|||||||
@@ -26,7 +26,10 @@ export default function MyTasks({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Layout>
|
<Layout>
|
||||||
<CommonHead commonHeadData={commonHeadData} />
|
{userDetails?.account_type == 'FULL' &&
|
||||||
|
<CommonHead commonHeadData={commonHeadData} />
|
||||||
|
}
|
||||||
|
|
||||||
<div className="notification-page w-full mb-10">
|
<div className="notification-page w-full mb-10">
|
||||||
<div className="notification-wrapper w-full">
|
<div className="notification-wrapper w-full">
|
||||||
{/* heading */}
|
{/* heading */}
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ module.exports = {
|
|||||||
"white-opacity": "#7B7EFC",
|
"white-opacity": "#7B7EFC",
|
||||||
"dark-white":"#1D1F2F",
|
"dark-white":"#1D1F2F",
|
||||||
"dark-light-purple":"#5356fb29",
|
"dark-light-purple":"#5356fb29",
|
||||||
'sky-blue': '#009ef7'
|
'sky-blue': '#3a8fc3'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user