Don't show actual results just the counts

This commit is contained in:
=
2019-03-07 12:49:19 -08:00
parent 01b864d75b
commit 8a1e406f43
2 changed files with 5 additions and 2 deletions

View File

@@ -20,6 +20,10 @@ const appStyle = theme => ({
zIndex: "1",
backgroundColor: "#272727",
backgroundImage: "linear-gradient(180deg,#272727, #21525f)"
},
itemsCountTitle: {
textAlign: 'center',
color: 'white'
}
});

View File

@@ -84,9 +84,8 @@ class App extends React.Component {
return (
<div className={classes.wrapper}>
<Sidebar logoText={"Market Alarm"} logo={logo} image={image} />
<div className={classes.mainPanel}>
<ItemsContainer />
{items.length && <h3 className={classes.itemsCountTitle}>Pronađeno {items.length} nekretnina. Napravite notifikaciju i primite vise detalja na vas emailu adresu.</h3>}
{items.length ? <NotificationModal /> : null}
</div>
</div>