File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
app/lib/frontend/templates/views/pkg Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,10 @@ d.Node labeledScoresNode({
38
38
child: _labeledScore (
39
39
'downloads' ,
40
40
thirtyDaysDownloads != null
41
- ? formatWith3SignificantDigits (thirtyDaysDownloads).value
41
+ ? '${formatWith3SignificantDigits (thirtyDaysDownloads ).value }'
42
+ '${formatWith3SignificantDigits (thirtyDaysDownloads ).suffix }'
42
43
: null ,
43
- sign: thirtyDaysDownloads != null
44
- ? formatWith3SignificantDigits (thirtyDaysDownloads).suffix
45
- : '' ,
44
+ sign: '' ,
46
45
),
47
46
)
48
47
: d.div (
Original file line number Diff line number Diff line change @@ -279,8 +279,9 @@ d.Node _downloadCountsKeyFigureNode(int? downloadCounts) {
279
279
);
280
280
}
281
281
return _keyFigureNode (
282
- value: formatWith3SignificantDigits (downloadCounts).value,
283
- supplemental: formatWith3SignificantDigits (downloadCounts).suffix,
282
+ value: '${formatWith3SignificantDigits (downloadCounts ).value }'
283
+ '${formatWith3SignificantDigits (downloadCounts ).suffix }' ,
284
+ supplemental: '' ,
284
285
label: 'downloads' ,
285
286
);
286
287
}
You can’t perform that action at this time.
0 commit comments