Skip to content

Commit

Permalink
Merge pull request #3181 from builder-247/facets
Browse files Browse the repository at this point in the history
Display facet in recentMatches and playerMatches
  • Loading branch information
howardchung committed Jun 3, 2024
2 parents bbde633 + 74dbedb commit a8e9c8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const getPlayerMatches = (accountId, params) => action('playerMatches', c
significant: 0,
project: [
'duration', 'game_mode', 'lobby_type',
'start_time', 'hero_id', 'version', 'kills', 'deaths', 'assists', 'leaver_status', 'party_size', 'average_rank', // default fields when querying without project field
'start_time', 'hero_id', 'version', 'kills', 'deaths', 'assists', 'leaver_status', 'party_size', 'average_rank', 'hero_variant', // default fields when querying without project field
'item_0', 'item_1', 'item_2', 'item_3', 'item_4', 'item_5', // additional fields required for items
] }, transformPlayerMatches({ ...querystring.parse(params.substring(1)) }));
export const getPlayerPeers = (accountId, params) => action('playerPeers', config.VITE_API_HOST, `api/players/${accountId}/peers`, paramsWithTurbo(params));
Expand Down
1 change: 1 addition & 0 deletions src/utility/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ export function displayHeroId(row, col, field, showGuide = false, guideUrl, guid
<TableHeroImage
parsed={row.version}
heroID={heroId}
facet={row.hero_variant}
title={getTitle(row, col, heroName)}
subtitle={getSubtitle(row)}
heroName={heroName}
Expand Down

0 comments on commit a8e9c8b

Please sign in to comment.