welsh text amends on reps

This commit is contained in:
2025-02-10 14:13:39 +00:00
parent 608348910f
commit 130102ad30
3 changed files with 57 additions and 39 deletions
+19 -2
View File
@@ -285,10 +285,27 @@ const TopThree = (props) => {
'$..[?(@.value=="' +
showTopThreeArr[key]
.representationCapacity +
'")].value_cy',
'" ||@.value_cy=="' +
showTopThreeArr[key]
.representationCapacity +
'" )].value_cy',
transLookup
)
: showTopThreeArr[key].representationCapacity || ""}
: jsonpath(
'$..[?(@.value_cy=="' +
showTopThreeArr[key]
.representationCapacity +
'")].value',
transLookup
).length > 0
? jsonpath(
'$..[?(@.value_cy=="' +
showTopThreeArr[key]
.representationCapacity +
'")].value',
transLookup
)
: showTopThreeArr[key].representationCapacity}
</div>
<div className="cardModuleReference">
<b>{t("myportal:date-raised")}:</b>