diff --git a/src/lib/components/Calendar/ScheduleTable.svelte b/src/lib/components/Calendar/ScheduleTable.svelte index c5678cf..dd8aefc 100644 --- a/src/lib/components/Calendar/ScheduleTable.svelte +++ b/src/lib/components/Calendar/ScheduleTable.svelte @@ -3,7 +3,6 @@ import { getRowColor, isAvailableOnRow } from '$lib/logics/Calendar/ScheduleTable/logic'; import { requestToMarkOneRow } from '$lib/logics/Calendar/_shared/utils'; import type { Row, Unavailable } from '$lib/logics/_shared/types'; - import { AvailabilityStatus } from '@prisma/client'; import { createEventDispatcher, tick } from 'svelte'; import Editor from './Editor.svelte'; @@ -12,6 +11,7 @@ export let dbRows: Row[]; export let displayedRows: Row[]; export let timeZone: string; + export let AvailabilityStatus: { [key: string]: string }; let openedRows = new Set(); // row inds which have open editors let rowIndsWithTimeErrs = new Set(); diff --git a/src/routes/calendar/+page.svelte b/src/routes/calendar/+page.svelte index 72d581d..42e6455 100644 --- a/src/routes/calendar/+page.svelte +++ b/src/routes/calendar/+page.svelte @@ -54,6 +54,7 @@