Changes in Document Creation, Calendar, Notifications, Settings
This commit is contained in:
@@ -13,6 +13,7 @@ definePageMeta({
|
||||
|
||||
//Config
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
const mode = ref(route.params.mode || "grid")
|
||||
const supabase = useSupabaseClient()
|
||||
const dataStore = useDataStore()
|
||||
@@ -102,7 +103,10 @@ const calendarOptionsGrid = reactive({
|
||||
|
||||
newEventData.value.start = info.startStr
|
||||
newEventData.value.end = info.endStr
|
||||
showNewEventModal.value = true
|
||||
//showNewEventModal.value = true
|
||||
|
||||
router.push(`/calendar/edit/?start=${info.startStr}&end=${info.endStr}&source=grid`)
|
||||
|
||||
},
|
||||
eventClick: function (info){
|
||||
selectedEvent.value = info.event
|
||||
@@ -138,7 +142,9 @@ const calendarOptionsTimeline = reactive({
|
||||
newEventData.value.end = info.endStr
|
||||
console.log(newEventData.value)
|
||||
convertResourceIds()
|
||||
showNewEventModal.value = true
|
||||
//showNewEventModal.value = true
|
||||
|
||||
router.push(`/calendar/edit/?start=${info.startStr}&end=${info.endStr}&resources=${JSON.stringify([info.resource.id])}&source=timeline`)
|
||||
},
|
||||
eventClick: function (info){
|
||||
selectedEvent.value = info.event
|
||||
|
||||
Reference in New Issue
Block a user