Fix app list label sorting

This commit is contained in:
Johannes Zellner
2025-10-17 18:30:50 +02:00
parent 2bfdc7c1ac
commit c59e3ef4ae

View File

@@ -54,7 +54,7 @@ const listColumns = {
if (!fullA || !fullA) return -1;
const checkA = fullA.label || fullA.subdomain || fullA.fqdn;
const checkB = fullB.label || fullB.subdomain || fullB.fqdn;
return checkA < checkB ? -1 : (checkA > checkB ? 1 : 0);
return checkA.toLowerCase() < checkB.toLowerCase() ? -1 : (checkA.toLowerCase() > checkB.toLowerCase() ? 1 : 0);
},
},
fqdn: {