sort nocs in today's page filters

This commit is contained in:
Fabrice Lamant
2024-07-31 10:51:07 +02:00
parent 3897a51bbd
commit 8214f0d332

View File

@ -383,7 +383,7 @@ export class Calendar {
};
}
content.push(`<div class="event py-4" data-start="${event.DTSTART}" data-end="${event.DTEND}" data-noc="${event._NOCS.join(",")}">`);
content.push(`<div class="event py-4" data-start="${event.DTSTART}" data-end="${event.DTEND}" data-noc="${event._NOCS.sort().join(",")}">`);
content.push(" <div class=\"time w-1/4 align-top text-right inline-block text-5xl text-center tabular-nums pr-2 border-r border-slate-900/10\">__:__</div>");
content.push(" <div class=\"w-3/5 align-top inline-block text-black pl-2\">");
content.push(" <div class=\"text-2xl\">");