mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-13 17:05:47 +01:00
🐛 Fix display of Media search with no results
This commit is contained in:
@@ -211,6 +211,8 @@ export function Search() {
|
||||
<Popover.Dropdown>
|
||||
<ScrollArea style={{ height: '80vh', maxWidth: '90vw' }} offsetScrollbars>
|
||||
{overseerrResults &&
|
||||
overseerrResults.length > 0 &&
|
||||
searchQuery.length > 3 &&
|
||||
overseerrResults.slice(0, 4).map((result: any, index: number) => (
|
||||
<React.Fragment key={index}>
|
||||
<OverseerrMediaDisplay key={result.id} media={result} />
|
||||
|
||||
Reference in New Issue
Block a user