la creazione dell'annuncio impiega troppo tempo (e le persone cliccavano su "Salva" più volte)...

This commit is contained in:
Surya Paolo
2023-06-18 22:29:12 +02:00
parent 33493bdfe4
commit ef4751dfb2
13 changed files with 62 additions and 31 deletions

View File

@@ -9,7 +9,6 @@
>
</CGalleryImages>
<q-card-actions align="right">
<div v-if="table === shared_consts.TABLES_MYBACHECAS" class="">
<q-btn
@@ -277,7 +276,13 @@
}}</q-item-label>
</q-item-section>
</q-item>
<q-item v-if="myrec.idStatusSkill && myrec.idStatusSkill.length > 0 && JSON.stringify(myrec.idStatusSkill) !== '[1]'">
<q-item
v-if="
myrec.idStatusSkill &&
myrec.idStatusSkill.length > 0 &&
JSON.stringify(myrec.idStatusSkill) !== '[1]'
"
>
<q-item-section avatar>
<q-icon color="green" name="mood" />
</q-item-section>
@@ -449,7 +454,11 @@
>
</CMyGroup>
</q-card>
<q-card v-else-if="!myrec.organisedBy" class="my-card clBorderUser" bordered>
<q-card
v-else-if="!myrec.organisedBy"
class="my-card clBorderUser"
bordered
>
<CMyUser
:mycontact="myrec"
:visu="costanti.FIND_PEOPLE"
@@ -542,11 +551,17 @@
/></q-item-label>
</q-item-section>
</q-item>
<q-item clickable v-if="table === 'mybachecas' && calendarStore.getNumParticipants(
myrec,
true,
tools.peopleWhere.participants
) > 0 ">
<q-item
clickable
v-if="
table === 'mybachecas' &&
calendarStore.getNumParticipants(
myrec,
true,
tools.peopleWhere.participants
) > 0
"
>
<q-item-section avatar>
<q-icon color="blue" name="fas fa-user-check" />
</q-item-section>
@@ -615,6 +630,9 @@
<q-item-section>
<q-item-label>
<span v-if="myrec.contribstr"
><br />{{ myrec.contribstr }}</span
>
<span
v-for="(reccontr, index) in myrec.idContribType"
:key="index"
@@ -627,9 +645,6 @@
{{ calendarStore.getContribtypeById(reccontr) }}
</q-chip>
</span>
<span v-if="myrec.contribstr"
><br />{{ myrec.contribstr }}</span
>
</q-item-label>
</q-item-section>
</q-item>
@@ -886,8 +901,9 @@
</q-toolbar>
<div class="q-pa-xs">
<q-card class="text-white windowcol" style="display: block">
<q-card class="windowcol" style="display: block">
<q-card-section class="q-pa-xs">
<div>{{ $t('cal.infoprenota') }}</div><br>
<div style="display: inline-flex" class="q-px-xs centermydiv">
<q-checkbox
style="color: black"