mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-27 10:00:50 +00:00
Merge f486d38e88 into 0725afe1a9
This commit is contained in:
commit
28f6d17ce1
|
|
@ -53,7 +53,7 @@ const renderHashtags = (hashtags: HashtagType[]) =>
|
|||
|
||||
const renderStatuses = (statusIds: string[]) =>
|
||||
hidePeek<string>(statusIds).map((id) => (
|
||||
<StatusQuoteManager key={id} id={id} />
|
||||
<StatusQuoteManager contextType='search' key={id} id={id} />
|
||||
));
|
||||
|
||||
type SearchType = 'all' | ApiSearchType;
|
||||
|
|
@ -189,7 +189,7 @@ export const SearchResults: React.FC<{ multiColumn: boolean }> = ({
|
|||
onClickMore={handleSelectStatuses}
|
||||
>
|
||||
{results.statuses.slice(0, INITIAL_DISPLAY).map((id) => (
|
||||
<StatusQuoteManager key={id} id={id} />
|
||||
<StatusQuoteManager contextType='search' key={id} id={id} />
|
||||
))}
|
||||
</SearchSection>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ const getStatusInputSelectors = [
|
|||
(state, { id }) => state.getIn(['accounts', state.getIn(['statuses', id, 'account'])]),
|
||||
(state, { id }) => state.getIn(['accounts', state.getIn(['statuses', state.getIn(['statuses', id, 'reblog']), 'account'])]),
|
||||
getFilters,
|
||||
(_, { contextType }) => ['detailed', 'bookmarks', 'favourites'].includes(contextType),
|
||||
(_, { contextType }) => ['detailed', 'bookmarks', 'favourites', 'search'].includes(contextType),
|
||||
];
|
||||
|
||||
function getStatusResultFunction(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user