mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 03:22:11 +00:00
Merge pull request #802 from Stremio/fix-search-hide-empty-rows
fix(Search): hide empty catalog rows
This commit is contained in:
commit
3c2eda6004
1 changed files with 11 additions and 8 deletions
|
|
@ -97,14 +97,17 @@ const Search = ({ queryParams }) => {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
case 'Err': {
|
case 'Err': {
|
||||||
return (
|
if (catalog.content.content !== 'EmptyContent') {
|
||||||
<MetaRow
|
return (
|
||||||
key={index}
|
<MetaRow
|
||||||
className={classnames(styles['search-row'], 'animation-fade-in')}
|
key={index}
|
||||||
catalog={catalog}
|
className={classnames(styles['search-row'], 'animation-fade-in')}
|
||||||
message={catalog.content.content}
|
catalog={catalog}
|
||||||
/>
|
message={catalog.content.content}
|
||||||
);
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue