From 82865ae98ef4b28c07497e8d3a7a6334e91afbfa Mon Sep 17 00:00:00 2001 From: Brian Love Date: Tue, 25 Jun 2024 18:32:53 -0400 Subject: [PATCH] Add missing percent signs to patent tables Closes #459 --- web/gui-v2/src/components/DetailViewPatents.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/gui-v2/src/components/DetailViewPatents.jsx b/web/gui-v2/src/components/DetailViewPatents.jsx index 89f131d..0b24311 100644 --- a/web/gui-v2/src/components/DetailViewPatents.jsx +++ b/web/gui-v2/src/components/DetailViewPatents.jsx @@ -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); @@ -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);