Skip to content

Commit

Permalink
Merge pull request #15 from saleem-hadad/fix/number-formatting-ui
Browse files Browse the repository at this point in the history
Update number formatting for partition metric #fix
  • Loading branch information
saleem-hadad authored May 21, 2022
2 parents 732dbda + cf26da2 commit 1148e99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"/js/app.js": "/js/app.js?id=96b2be956563de5f8c09",
"/js/app.js": "/js/app.js?id=2f34dea68d844f1d7b06",
"/css/app.css": "/css/app.css?id=58adc592c995babafb87"
}
2 changes: 1 addition & 1 deletion resources/js/Components/Domain/PartitionMetric.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default function PartitionMetric({ name, graphql_query, ranges, relation
<ul className="list-reset">
{data.map((item, index) => <li key={index} className="text-xs text-gray-700 leading-normal">
<span className={`inline-block rounded-full w-2 h-2 mr-2 ${getTailwindColor(index)}`} />
{item.label} ({AppCurrency} {item.value} - {total > 0 && formatNumber(item.value * 100 / total) + "%"})
{item.label} ({AppCurrency} {formatNumber(item.value)} - {total > 0 && formatNumber(item.value * 100 / total) + "%"})
</li>)}
</ul>
</div>
Expand Down

0 comments on commit 1148e99

Please sign in to comment.