@@ -149,6 +163,21 @@ async function onOpenModal({
+
+
+
+
+
{{ $t('objects.viewType.calendar') }}
+
+
+
+
+
+
diff --git a/packages/nc-gui/components/dashboard/TreeView/ViewsList.vue b/packages/nc-gui/components/dashboard/TreeView/ViewsList.vue
index 6004cce5e8..a5083c4aac 100644
--- a/packages/nc-gui/components/dashboard/TreeView/ViewsList.vue
+++ b/packages/nc-gui/components/dashboard/TreeView/ViewsList.vue
@@ -350,11 +350,16 @@ function onOpenModal({
type,
copyViewId,
groupingFieldColumnId,
+ calendarRange,
}: {
title?: string
type: ViewTypes
copyViewId?: string
groupingFieldColumnId?: string
+ calendarRange?: Array<{
+ fk_from_column_id: string
+ fk_to_column_id: string | null // for ee only
+ }>
}) {
const isOpen = ref(true)
@@ -366,6 +371,7 @@ function onOpenModal({
'selectedViewId': copyViewId,
groupingFieldColumnId,
'views': views,
+ calendarRange,
'onUpdate:modelValue': closeDialog,
'onCreated': async (view: ViewType) => {
closeDialog()
@@ -400,24 +406,24 @@ function onOpenModal({