fix search memebers

calendar se vuoto non mostrare
This commit is contained in:
Surya Paolo
2022-12-15 21:14:59 +01:00
parent 1291ad319f
commit a5e86926e3
7 changed files with 13 additions and 6 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -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"

View File

@@ -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

View File

@@ -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"

View File

@@ -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,
}
}
})

View File

@@ -1061,7 +1061,7 @@
</q-page>
<div class="q-mt-md">
<div v-if="!mysingleevent">
<div v-if="!mysingleevent && getNumEvents() > 0">
<p class="text-subtitle1 text-red bg-amber text-center">
LISTA PROSSIMI
<span v-if="showfirstN > 0">{{ showfirstN }}</span> EVENTI:
@@ -1387,6 +1387,7 @@
<div class="q-ma-lg text-center">
<q-btn
v-if="getNumEvents() > 0"
rounded
type="a"
to="/calendario-eventi"