diff --git a/apps/frontend/src/lib/components/blocks/calendar-view/calendar-view-day-timeline.svelte b/apps/frontend/src/lib/components/blocks/calendar-view/calendar-view-day-timeline.svelte index 49f10d601..c0ebf8e20 100644 --- a/apps/frontend/src/lib/components/blocks/calendar-view/calendar-view-day-timeline.svelte +++ b/apps/frontend/src/lib/components/blocks/calendar-view/calendar-view-day-timeline.svelte @@ -28,6 +28,7 @@ import { PlusIcon } from "lucide-svelte" import { CREATE_RECORD_MODAL, openModal } from "$lib/store/modal.store" import { tick } from "svelte" + import { hasPermission } from "$lib/store/space-member.store" export let viewId: Readable export let view: CalendarView @@ -389,30 +390,32 @@ >
- + {#if !shareId && $hasPermission("record:create")} + + {/if} {/each}