grouped and sorted licence categories display

This commit is contained in:
Alex
2024-10-08 07:39:03 +02:00
parent 9023979b43
commit 1367ba4fa1
3 changed files with 83 additions and 32 deletions

View File

@@ -47,7 +47,7 @@ export async function handle({ event, resolve }) {
event.locals.subscriptions = data.subscriptions;
event.locals.user = data.user;
event.locals.licence_categories = data.licence_categories;
console.dir(event.locals.licence_categories);
console.dir(event.locals.user);
if (event.locals.user.date_of_birth) {
event.locals.user.date_of_birth =
event.locals.user.date_of_birth.split("T")[0];