pl-fe: do not display trending statsues when searching for specific user's posts

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-09 15:44:02 +02:00
parent b4f78e0875
commit 3333254b01

View file

@ -158,7 +158,7 @@ const SearchResults = () => {
/>
));
resultsIds = results.statuses;
} else if (!submitted && trendingStatuses && !trendingStatuses.isEmpty()) {
} else if (!submitted && !filterByAccount && trendingStatuses && !trendingStatuses.isEmpty()) {
searchResults = trendingStatuses.map((statusId: string) => (
// @ts-ignore
<StatusContainer