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() {
|
||||
const transationFilterData = [
|
||||
{
|
||||
id: 1,
|
||||
name: "all",
|
||||
uniqueId: Math.random(),
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: "send",
|
||||
uniqueId: Math.random(),
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: "recent",
|
||||
uniqueId: Math.random(),
|
||||
},
|
||||
];
|
||||
const [filterActive, setValue] = useState(transationFilterData[0].id);
|
||||
const filterHander = (value) => {
|
||||
setValue(value);
|
||||
};
|
||||
// const transationFilterData = [
|
||||
// {
|
||||
// id: 1,
|
||||
// name: "all",
|
||||
// uniqueId: Math.random(),
|
||||
// },
|
||||
// {
|
||||
// id: 2,
|
||||
// name: "send",
|
||||
// uniqueId: Math.random(),
|
||||
// },
|
||||
// {
|
||||
// id: 3,
|
||||
// name: "recent",
|
||||
// uniqueId: Math.random(),
|
||||
// },
|
||||
// ];
|
||||
// const [filterActive, setValue] = useState(transationFilterData[0].id);
|
||||
// const filterHander = (value) => {
|
||||
// setValue(value);
|
||||
// };
|
||||
|
||||
const apiCall = new usersService()
|
||||
|
||||
@@ -93,7 +93,7 @@ export default function ParentWaitingTable() {
|
||||
<img src={transaction1} alt="" className="" />
|
||||
</div>
|
||||
<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}
|
||||
</p>
|
||||
|
||||
@@ -102,12 +102,12 @@ export default function ParentWaitingTable() {
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="">
|
||||
<p className="px-2 text-sm font-bold text-dark-gray dark:text-white">
|
||||
<div className="px-2">
|
||||
<p className="text-sm font-bold text-dark-gray dark:text-white">
|
||||
{new Date(item.added).toLocaleString().split(',')[0]}
|
||||
{/* {item.added} */}
|
||||
|
||||
</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>
|
||||
</li>
|
||||
|
||||
@@ -145,7 +145,7 @@ export default function MyJobTable({ className, ActiveJobList, Account }) {
|
||||
>
|
||||
<div
|
||||
className={`p-2 font-bold text-3xl ${
|
||||
accountType ? "text-white" : "text-purple"
|
||||
accountType ? "text-white" : "text-sky-blue"
|
||||
} whitespace-nowrap`}
|
||||
>
|
||||
You currently have {accountType ? '"0"' : "no"} task
|
||||
|
||||
@@ -26,7 +26,10 @@ export default function MyTasks({
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<CommonHead commonHeadData={commonHeadData} />
|
||||
{userDetails?.account_type == 'FULL' &&
|
||||
<CommonHead commonHeadData={commonHeadData} />
|
||||
}
|
||||
|
||||
<div className="notification-page w-full mb-10">
|
||||
<div className="notification-wrapper w-full">
|
||||
{/* heading */}
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ module.exports = {
|
||||
"white-opacity": "#7B7EFC",
|
||||
"dark-white":"#1D1F2F",
|
||||
"dark-light-purple":"#5356fb29",
|
||||
'sky-blue': '#009ef7'
|
||||
'sky-blue': '#3a8fc3'
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user