Changed STore Type and corrected all Pages
Added HistoryDisplay.vue Added NumberRanges
This commit is contained in:
@@ -13,11 +13,10 @@ watch(viewport.breakpoint, (newBreakpoint, oldBreakpoint) => {
|
||||
})
|
||||
|
||||
const supabase = useSupabaseClient()
|
||||
|
||||
const {getResources, getEvents, getEventTypes, fetchEvents} = useDataStore()
|
||||
const resources = getResources
|
||||
const eventTypes = getEventTypes
|
||||
const events = getEvents
|
||||
const dataStore = useDataStore()
|
||||
const resources = dataStore.getResources
|
||||
const eventTypes = dataStore.getEventTypes
|
||||
const events = dataStore.getEvents
|
||||
|
||||
const openNewEventModal = ref(false)
|
||||
const newEventData = ref({
|
||||
@@ -39,7 +38,7 @@ const createEvent = async () => {
|
||||
} else {
|
||||
openNewEventModal.value = false
|
||||
newEventData.value = {}
|
||||
fetchEvents()
|
||||
dataStore.fetchEvents()
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user