diff --git a/src/routes/space/[id]/edit/+page.svelte b/src/routes/space/[id]/edit/+page.svelte index f6008d8..104cf38 100644 --- a/src/routes/space/[id]/edit/+page.svelte +++ b/src/routes/space/[id]/edit/+page.svelte @@ -69,6 +69,7 @@ if ( (allDays.closes_at === "" || allDays.opens_at === "") && allDays.open_today_status === null && + studySpaceData.opening_times.length > 0 && !hasAllDays ) { alert(`No opening time provided for all other days.`);