Skip to content

Commit

Permalink
Merge pull request #2210 from santiment/fix/rank
Browse files Browse the repository at this point in the history
fix/rank-cell
  • Loading branch information
haritonasty committed Jun 16, 2021
2 parents 7af9319 + 13e41fe commit 311a6fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ducks/Watchlists/Widgets/Table/Columns/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export const buildColumns = (baseMetrics, allMetrics, restrictedMetrics) => {
if (!isOnlyPercentFilters) {
const {
badge,
Cell,
withChart,
defaultTimeRange,
valueFormatter,
Expand All @@ -168,7 +169,7 @@ export const buildColumns = (baseMetrics, allMetrics, restrictedMetrics) => {
isRestricted,
accessor: key,
sortDescFirst: true,
Cell: isRestricted ? PRO_CELL : BASIC_CELL(formatter),
Cell: isRestricted ? PRO_CELL : Cell || BASIC_CELL(formatter),
disableSortBy: isRestricted,
timeRange: defaultTimeRange || '1d',
label: `${label}${visualTimeRange}`,
Expand Down

0 comments on commit 311a6fa

Please sign in to comment.