bugfix
All checks were successful
deploy to production / deploy (push) Successful in 45s

This commit is contained in:
Robin Grenzdörfer 2023-12-08 13:28:01 +00:00
parent 6a94866368
commit bb4a9a2c55
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@
})
$pages = pagesRes
$team = teamRes
$jobOffers = jobOffersRes
}

View File

@ -57,6 +57,7 @@
on:keydown
on:click="{() => {
let chefs = Object.values($team).filter((p) => p.personType == 'chef')
chefs = chefs.sort((a, b) => a.sort - b.sort)
let i = chefs.findIndex((p) => p.path == page.path)
if (i == chefs.length - 1) i = 0
else i++