From d3a4c656833e36df36f9b94c4131325460d4d6aa Mon Sep 17 00:00:00 2001 From: muhammadeko Date: Mon, 16 May 2022 14:01:21 +0700 Subject: [PATCH] fix negative value --- src/components/pages/Artifacts.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pages/Artifacts.tsx b/src/components/pages/Artifacts.tsx index fc2e76a..861279f 100644 --- a/src/components/pages/Artifacts.tsx +++ b/src/components/pages/Artifacts.tsx @@ -148,7 +148,7 @@ export default function Artifacts() { if (propTypeValues[affix.PropType] === undefined) { propTypeValues[affix.PropType] = []; } - propTypeValues[affix.PropType].push(affix.PropValue); + if(affix.PropValue>0) propTypeValues[affix.PropType].push(affix.PropValue); }); return propTypeValues; };