Do not show save filter if no filter is selected

This commit is contained in:
dominik-zeglen 2019-09-12 12:46:10 +02:00
parent c21475a0fc
commit 796d1fc0e0

View file

@ -89,7 +89,7 @@ const SearchBar: React.FC<SearchBarProps> = props => {
search={search}
onSearchChange={handleSearchChange}
/>
{!!search || (tabs && tabs.length > 0) ? (
{!!search || (tabs && tabs.length > 0 && currentTab !== 0) ? (
<div className={classes.tabActionContainer}>
<div className={classes.tabAction}>
{isCustom ? (