generated from cms/tibi-docs
This commit is contained in:
parent
6a94866368
commit
bb4a9a2c55
@ -58,6 +58,7 @@
|
||||
})
|
||||
$pages = pagesRes
|
||||
$team = teamRes
|
||||
|
||||
$jobOffers = jobOffersRes
|
||||
}
|
||||
|
||||
|
@ -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++
|
||||
|
Loading…
Reference in New Issue
Block a user