From 98f4f50af5e893692ef4eb1340c941603d6a58d3 Mon Sep 17 00:00:00 2001 From: Remi Blom-Ohlsen Date: Mon, 15 Apr 2024 11:52:49 +0200 Subject: [PATCH] Tiny bugfix --- .../components/ProjectStatus/StatusElement/StatusElement.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SharePointFramework/ProjectWebParts/src/components/ProjectStatus/StatusElement/StatusElement.tsx b/SharePointFramework/ProjectWebParts/src/components/ProjectStatus/StatusElement/StatusElement.tsx index c1a59199a..420549e6a 100644 --- a/SharePointFramework/ProjectWebParts/src/components/ProjectStatus/StatusElement/StatusElement.tsx +++ b/SharePointFramework/ProjectWebParts/src/components/ProjectStatus/StatusElement/StatusElement.tsx @@ -49,9 +49,9 @@ export const StatusElement: FC = (props) => {
{props.summation.description}
{props.summation.renderAs === 'currency' - ? tryParseCurrency(props.summation.result.toString()) + ? tryParseCurrency(props.summation.result?.toString()) : props.summation.renderAs === 'percentage' - ? (tryParsePercentage(props.summation.result.toString(), false, 0) as number) + ? (tryParsePercentage(props.summation.result?.toString(), false, 0) as number) : props.summation.result}