From ab25e5034970ce2df3b2180dcb09b24c50f526d9 Mon Sep 17 00:00:00 2001 From: Xeovalyte Date: Tue, 27 Sep 2022 16:00:09 +0200 Subject: [PATCH] added index and some fixes --- frontend/app.vue | 3 ++- frontend/components/layout/Navbar.vue | 2 +- frontend/pages/calendar.vue | 6 ++---- frontend/pages/index.vue | 25 +++++++++++++++++++++---- 4 files changed, 26 insertions(+), 10 deletions(-) diff --git a/frontend/app.vue b/frontend/app.vue index 6f9e090..ef584ea 100644 --- a/frontend/app.vue +++ b/frontend/app.vue @@ -30,6 +30,7 @@ const userLoaded = ref(false) const userData = ref(null) const userPersons = ref([]) const userAllPersons = ref([]) +const calEvents = ref([]) onMounted(() => { auth.value = getAuth() @@ -75,5 +76,5 @@ const getPersons = async (persons) => { const ledenlijst = ref([]) -provide('firebase', { db, ledenlijst, isAuthenticated, user, userData, userPersons, auth, userAllPersons, getPersons }) +provide('firebase', { db, ledenlijst, isAuthenticated, user, userData, userPersons, auth, userAllPersons, getPersons, calEvents }) \ No newline at end of file diff --git a/frontend/components/layout/Navbar.vue b/frontend/components/layout/Navbar.vue index 2d50c64..fe5912e 100644 --- a/frontend/components/layout/Navbar.vue +++ b/frontend/components/layout/Navbar.vue @@ -1,6 +1,6 @@