- Versione 1.1.0 (non ancora rilasciata).

- - fix: La partecipazione agli eventi, non viene salvata correttamente e non visualizzava.
This commit is contained in:
Surya Paolo
2024-09-30 14:50:49 +02:00
parent 522cff7c6b
commit 83a5b8b18b
32 changed files with 63 additions and 64 deletions

View File

@@ -767,7 +767,7 @@
<q-item
clickable
v-if="
table === 'mybachecas' &&
table === shared_consts.TABLES_MYBACHECAS &&
calendarStore.getNumParticipants(
myrec,
true,
@@ -780,19 +780,19 @@
</q-item-section>
<q-item-section>
<q-item-label lines="1" v-if="myrec.myattend">
<q-btn
v-if="table === shared_consts.TABLES_MYBACHECAS"
rounded
color="primary"
:label="
$t('cmd.attend', {
num: calendarStore.getNumParticipants(
<q-item-label lines="1">
<span style="display: none">{{ part = calendarStore.getNumParticipants(
myrec,
true,
tools.peopleWhere.participants
),
})
)}}</span>
<q-btn
rounded
color="primary"
:label="
part
? $t('cmd.attend1', { num: part })
: $t('cmd.attend', { num: part })
"
@click="
clicca(
@@ -909,12 +909,6 @@
</div>
</q-list>
<q-separator />
<div
v-if="table === shared_consts.TABLES_MYBACHECAS"
class="q-mb-sm"
>
&nbsp;
</div>
<div v-if="isSmall && showAnteprima" class="row justify-center">
<q-btn
@@ -988,17 +982,23 @@
/>
<q-btn
v-if="table === shared_consts.TABLES_MYBACHECAS"
class="q-mx-xxs q-my-xs"
rounded
:text-color="
calendarStore.isPartecipero(myrec._id, table)
? 'white'
: 'primary'
"
:color="
calendarStore.isPartecipero(myrec._id, table)
? 'green'
: 'grey'
: 'white'
"
:label="$t('event.attend')"
:icon="
calendarStore.isPartecipero(myrec._id, table)
? 'fas fa-user-check'
: 'far fa-check-circle'
? 'how_to_reg'
: 'check_circle'
"
@click="EditBookEvent(true)"
>