From a5e86926e309b9c509d6653770584b516eb21688 Mon Sep 17 00:00:00 2001 From: Surya Paolo Date: Thu, 15 Dec 2022 21:14:59 +0100 Subject: [PATCH] fix search memebers calendar se vuoto non mostrare --- .env.development | 2 +- .env.example.production | 2 +- _ALL_SITES/riso.app/.env.development | 2 +- _ALL_SITES/riso.app/.env.production | 2 +- _ALL_SITES/terradellavisione.app/.env.development | 2 +- src/components/CEventsCalendar/CEventsCalendar.ts | 6 ++++++ src/components/CEventsCalendar/CEventsCalendar.vue | 3 ++- 7 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.env.development b/.env.development index 2b1cd38b..6e0aebfe 100755 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="0.5.39" +APP_VERSION="0.5.40" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL="newfreeplanet" diff --git a/.env.example.production b/.env.example.production index ccfd0be7..81e540a6 100755 --- a/.env.example.production +++ b/.env.example.production @@ -1,4 +1,4 @@ -APP_VERSION="0.5.39" +APP_VERSION="0.5.40" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL=newfreeplanet diff --git a/_ALL_SITES/riso.app/.env.development b/_ALL_SITES/riso.app/.env.development index 2b1cd38b..6e0aebfe 100755 --- a/_ALL_SITES/riso.app/.env.development +++ b/_ALL_SITES/riso.app/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="0.5.39" +APP_VERSION="0.5.40" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL="newfreeplanet" diff --git a/_ALL_SITES/riso.app/.env.production b/_ALL_SITES/riso.app/.env.production index 7944ac8b..032413f9 100644 --- a/_ALL_SITES/riso.app/.env.production +++ b/_ALL_SITES/riso.app/.env.production @@ -1,4 +1,4 @@ -APP_VERSION="0.5.39" +APP_VERSION="0.5.40" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL=newfreeplanet diff --git a/_ALL_SITES/terradellavisione.app/.env.development b/_ALL_SITES/terradellavisione.app/.env.development index 4429a14f..99f6b546 100755 --- a/_ALL_SITES/terradellavisione.app/.env.development +++ b/_ALL_SITES/terradellavisione.app/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="0.5.39" +APP_VERSION="0.5.40" SERVICE_WORKER_FILE="service-worker.js" APP_ID="14" DIRECTORY_LOCAL="newfreeplanet" diff --git a/src/components/CEventsCalendar/CEventsCalendar.ts b/src/components/CEventsCalendar/CEventsCalendar.ts index 7f51d9f0..114d46db 100755 --- a/src/components/CEventsCalendar/CEventsCalendar.ts +++ b/src/components/CEventsCalendar/CEventsCalendar.ts @@ -890,6 +890,11 @@ export default defineComponent({ return mylist } + function getNumEvents() { + const mylist = getEventList() + return mylist ? mylist.length : 0 + } + function getEvents(dt: any) { const eventsloc = [] @@ -1029,6 +1034,7 @@ export default defineComponent({ CancelBookingEvent, site: globalStore.site, condividipag, + getNumEvents, } } }) diff --git a/src/components/CEventsCalendar/CEventsCalendar.vue b/src/components/CEventsCalendar/CEventsCalendar.vue index 597b3f9b..8ddfa6fe 100755 --- a/src/components/CEventsCalendar/CEventsCalendar.vue +++ b/src/components/CEventsCalendar/CEventsCalendar.vue @@ -1061,7 +1061,7 @@
-
+

LISTA PROSSIMI {{ showfirstN }} EVENTI: @@ -1387,6 +1387,7 @@