Skip to content

Commit

Permalink
[bugfix] added missing bl-ranked indicator on maps items
Browse files Browse the repository at this point in the history
  • Loading branch information
Zagrios committed Oct 22, 2024
1 parent 8de279a commit a5ff348
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ export const LocalMapsListPanel = forwardRef<LocalMapsListPanelRef, Props>(({ ve
diffs={MapItemComponentPropsMapper.extractMapDiffs({ mapInfo: map.mapInfo, songDetails: map.songDetails })}
mapId={map.songDetails?.id}
ranked={map.songDetails?.ranked}
blRanked={map.songDetails?.blRanked}
autorId={map.songDetails?.uploader.id}
likes={map.songDetails?.upVotes}
createdAt={map.songDetails?.uploadedAt}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ export const DownloadMapsModal: ModalComponent<void, { version: BSVersion; owned
duration={map.metadata.duration}
hash={map.versions.at(0).hash}
likes={map.stats.upvotes}
mapId={map.id} ranked={map.ranked}
mapId={map.id}
ranked={map.ranked}
blRanked={map.blRanked}
title={map.name}
songAutor={map.metadata.songAuthorName}
diffs={MapItemComponentPropsMapper.extractMapDiffs({ bsvMap: map })}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ export const BsvPlaylistDetailsModal: ModalComponent<void, Props> = ({ resolver,
duration={map.metadata.duration}
hash={map.versions.at(0).hash}
likes={map.stats.upvotes}
mapId={map.id} ranked={map.ranked}
mapId={map.id}
ranked={map.ranked}
blRanked={map.blRanked}
title={map.name}
songAutor={map.metadata.songAuthorName}
diffs={MapItemComponentPropsMapper.extractMapDiffs({ bsvMap: map })}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const LocalPlaylistDetailsModal: ModalComponent<void, Props> = ({resolver
diffs={MapItemComponentPropsMapper.extractMapDiffs({ mapInfo: map.mapInfo, songDetails: map.songDetails })}
mapId={map.songDetails?.id}
ranked={map.songDetails?.ranked}
blRanked={map.songDetails?.blRanked}
autorId={map.songDetails?.uploader.id}
likes={map.songDetails?.upVotes}
createdAt={map.songDetails?.uploadedAt}
Expand Down

0 comments on commit a5ff348

Please sign in to comment.