fix negative value

This commit is contained in:
muhammadeko 2022-05-16 14:01:21 +07:00
parent 579a5eea90
commit d3a4c65683
No known key found for this signature in database
GPG Key ID: 51366716C10E98B1

View File

@ -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;
};