top banner offer list display fixed
This commit was merged in pull request #791.
This commit is contained in:
@@ -62,16 +62,19 @@ export default function FullAccountDash(props) {
|
||||
<div className="home-page-wrapper">
|
||||
{renderDashboard()}
|
||||
{process.env.REACT_APP_SHOW_ACCOUNT_DASH == "1" && (
|
||||
<AccountDashboard className="mb-4" bannerList={props.bannerList} offersList={props.offersList?.data} />
|
||||
<AccountDashboard className="mb-4" bannerList={props.bannerList} offersList={props.offersList} imageServer={props.imageServer} />
|
||||
)}
|
||||
|
||||
{props?.dashTypes !== "undefined" &&
|
||||
props.offersList?.data?.result_list?.length ? (
|
||||
<MyOffersTable
|
||||
MyActiveOffersList={props.offersList?.data}
|
||||
className="mb-10"
|
||||
/>
|
||||
) : props.MyActiveJobList?.data?.length ? (
|
||||
{
|
||||
// props?.dashTypes !== "undefined" &&
|
||||
// props.offersList?.data?.result_list?.length ? (
|
||||
// <MyOffersTable
|
||||
// MyActiveOffersList={props.offersList?.data}
|
||||
// className="mb-10"
|
||||
// />
|
||||
// )
|
||||
// :
|
||||
props.MyActiveJobList?.data?.length ? (
|
||||
<>
|
||||
<div className="w-full mb-5 flex justify-between items-center gap-1">
|
||||
<h1 className="text-26 font-bold text-dark-gray dark:text-white">
|
||||
|
||||
Reference in New Issue
Block a user