fix: hide recharge seller region
This commit is contained in:
parent
b24ef884f6
commit
dad64a195b
@ -627,7 +627,6 @@
|
||||
meta.className = "agency-meta";
|
||||
const count = compactNumber(item.transactionCount);
|
||||
const metaParts = [];
|
||||
if (item.regionCode && item.regionCode !== item.countryName) metaParts.push(item.regionCode);
|
||||
metaParts.push("ID " + (item.account || item.userId));
|
||||
if (count) metaParts.push(count + " orders");
|
||||
meta.textContent = metaParts.join(" · ");
|
||||
@ -715,7 +714,7 @@
|
||||
function splitCountryRegion(countryName, regionCode) {
|
||||
const country = trimValue(countryName);
|
||||
const region = trimValue(regionCode);
|
||||
if (!country || region) {
|
||||
if (!country) {
|
||||
return { countryName: country, regionCode: region };
|
||||
}
|
||||
const parts = country.split(/\s+[-\u2013\u2014]\s+/).map(trimValue).filter(Boolean);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user