oooops
This commit is contained in:
@@ -784,7 +784,7 @@ function TS_IndexElement(
|
|||||||
}
|
}
|
||||||
// 2. Region (ascending, from SC_Personas if Persona exists)
|
// 2. Region (ascending, from SC_Personas if Persona exists)
|
||||||
const regionA = a.Persona && SC_Personas[a.Persona] ? SC_Personas[a.Persona].Region || "" : a.Region || "";
|
const regionA = a.Persona && SC_Personas[a.Persona] ? SC_Personas[a.Persona].Region || "" : a.Region || "";
|
||||||
const regionB = b.Persona && SC_Personas[b.Persona] ? SC_Personas[b.Persona].Region || "" : a.Region || "";
|
const regionB = b.Persona && SC_Personas[b.Persona] ? SC_Personas[b.Persona].Region || "" : b.Region || "";
|
||||||
if (regionA !== regionB) {
|
if (regionA !== regionB) {
|
||||||
return regionA < regionB ? -1 : 1;
|
return regionA < regionB ? -1 : 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user