Skip to content

Commit

Permalink
Merge pull request #463 from georgetown-cset/459-percent-symbols-miss…
Browse files Browse the repository at this point in the history
…ing-from-detail

Add missing percent signs to patent tables
  • Loading branch information
jmelot authored Jun 26, 2024
2 parents 77491bf + 82865ae commit 2a8f3a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/gui-v2/src/components/DetailViewPatents.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const DetailViewPatents = ({
return {
subfield: patentMap[key],
patents: data.patents[key].total,
growth: data.patents[key].growth ? data.patents[key].growth : "N/A",
growth: data.patents[key].growth ? `${data.patents[key].growth}%` : "N/A",
};
})
.sort((a, b) => b.patents - a.patents);
Expand All @@ -188,7 +188,7 @@ const DetailViewPatents = ({
return {
subfield: patentMap[key],
patents: data.patents[key].total,
growth: data.patents[key].growth ? data.patents[key].growth : "N/A",
growth: data.patents[key].growth ? `${data.patents[key].growth}%` : "N/A",
};
})
.sort((a, b) => b.patents - a.patents);
Expand Down

0 comments on commit 2a8f3a0

Please sign in to comment.