generated from cms/tibi-docs
Compare commits
2 Commits
fc612ad924
...
bb4a9a2c55
Author | SHA1 | Date | |
---|---|---|---|
bb4a9a2c55 | |||
6a94866368 |
@ -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++
|
||||
|
@ -5,6 +5,7 @@
|
||||
|
||||
export let pageId: string
|
||||
export let persons: Page[]
|
||||
persons = persons.sort((a, b) => a.sort - b.sort)
|
||||
|
||||
let hover = -1
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user