mirror of
https://github.com/nfonteyne/octane-website.git
synced 2026-09-03 23:24:48 +02:00
fix: calendar display nothing
This commit is contained in:
parent
323ac4565c
commit
7e4b067e54
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ async function getSlots({ minPeople = 0, personIds = null, weeks = 3 } = {}) {
|
||||||
|
|
||||||
const { rows } = await pool.query(
|
const { rows } = await pool.query(
|
||||||
`SELECT
|
`SELECT
|
||||||
ts.id, ts.lower, ts.upper, ts.slot_date, ts.day_of_week,
|
ts.id, ts.lower, ts.upper, to_char(ts.slot_date, 'YYYY-MM-DD') AS slot_date, ts.day_of_week,
|
||||||
filtered.available_count, filtered.total_in_filter,
|
filtered.available_count, filtered.total_in_filter,
|
||||||
(
|
(
|
||||||
SELECT json_agg(
|
SELECT json_agg(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue