Przeglądaj źródła

Finished 591

bugfix/519
Djordje Mitrovic 3 lat temu
rodzic
commit
94a1d416b6

+ 0
- 8
src/components/Profile/ProfileOffers/ProfileOffers.js Wyświetl plik



return ( return (
<ProfileOffersContainer> <ProfileOffersContainer>
{offersToShow.length !== 0 ? (
<HeaderSelect <HeaderSelect
value={sortOption?.value ? sortOption.value : sortEnum.INITIAL.value} value={sortOption?.value ? sortOption.value : sortEnum.INITIAL.value}
IconComponent={DownArrow} IconComponent={DownArrow}
); );
})} })}
</HeaderSelect> </HeaderSelect>
) : (
<></>
)}
<Grid <Grid
container container
direction="row" direction="row"
{props.isMyProfile ? "Moje objave" : "Objave kompanije"} {props.isMyProfile ? "Moje objave" : "Objave kompanije"}
</HeaderTitle> </HeaderTitle>
</Grid> </Grid>
{offersToShow.length !== 0 ? (
<SearchInput <SearchInput
fullWidth fullWidth
ref={searchRef} ref={searchRef}
), ),
}} }}
/> />
) : (
<></>
)}
<OffersContainer> <OffersContainer>
{!isMobile ? ( {!isMobile ? (
isLoadingMineOffers || isLoadingMineOffers === undefined ? ( isLoadingMineOffers || isLoadingMineOffers === undefined ? (

Ładowanie…
Anuluj
Zapisz