generated from cms/tibi-docs
Compare commits
No commits in common. "bb4a9a2c55065e186060a9c9ca877e646d92a10b" and "fc612ad924ab7ea92c0d931868ee121c35bb8e73" have entirely different histories.
bb4a9a2c55
...
fc612ad924
@ -58,7 +58,6 @@
|
|||||||
})
|
})
|
||||||
$pages = pagesRes
|
$pages = pagesRes
|
||||||
$team = teamRes
|
$team = teamRes
|
||||||
|
|
||||||
$jobOffers = jobOffersRes
|
$jobOffers = jobOffersRes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,7 +57,6 @@
|
|||||||
on:keydown
|
on:keydown
|
||||||
on:click="{() => {
|
on:click="{() => {
|
||||||
let chefs = Object.values($team).filter((p) => p.personType == 'chef')
|
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)
|
let i = chefs.findIndex((p) => p.path == page.path)
|
||||||
if (i == chefs.length - 1) i = 0
|
if (i == chefs.length - 1) i = 0
|
||||||
else i++
|
else i++
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
export let pageId: string
|
export let pageId: string
|
||||||
export let persons: Page[]
|
export let persons: Page[]
|
||||||
persons = persons.sort((a, b) => a.sort - b.sort)
|
|
||||||
|
|
||||||
let hover = -1
|
let hover = -1
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user