Skip to content

Commit

Permalink
Add missing percent signs to patent tables
Browse files Browse the repository at this point in the history
Closes #459
  • Loading branch information
brianlove committed Jun 25, 2024
1 parent 5940da9 commit 82865ae
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 82865ae

Please sign in to comment.