- Migliorata la Notifica degli Eventi su Telegram
- Gli annunci (beni/servizi/ospitalità) ora possono essere visti anche tramite un link, anche per chi non è dentro alla App. - Aggiunto bottone "Aggiorna" per aggiornare il Saldo attuale. - I "Conti Collettivi" ora vengono chiamati Gruppi (o Conto di Gruppo).
This commit is contained in:
@@ -169,11 +169,12 @@ export default defineComponent({
|
||||
return userStore.my.profile
|
||||
}
|
||||
|
||||
function load() {
|
||||
async function load() {
|
||||
|
||||
// Carica il record
|
||||
if (props.idRec) {
|
||||
userStore.loadGeneric(props.table, props.idRec, idnotif.value).then((ris) => {
|
||||
await userStore.loadGeneric(props.table, props.idRec, idnotif.value).then((ris) => {
|
||||
console.log('myrec', myrec)
|
||||
myrec.value = ris
|
||||
notifStore.setAsRead(idnotif.value)
|
||||
})
|
||||
@@ -233,6 +234,10 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
async function clicca(tipo: any, myset: any, title: string) {
|
||||
if (!userStore.my.username) {
|
||||
return
|
||||
}
|
||||
|
||||
let mylist = null
|
||||
if (tipo === costanti.TIPOFAVBOOK.FAVORITE) {
|
||||
if (myset) {
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<div v-if="myrec && myrec._id" class="fulldiv">
|
||||
<div class="q-pa-sm row items-start q-gutter-sm full-height fulldiv">
|
||||
<q-card class="my-card fulldiv" bordered>
|
||||
idRec: {{ idRec }}
|
||||
<CGalleryImages
|
||||
v-if="myrec.photos.length > 0"
|
||||
:imgGallery="myrec.photos"
|
||||
@@ -41,6 +40,7 @@
|
||||
<div class="">
|
||||
<q-btn flat round color="blue" icon="far fa-eye">
|
||||
<q-badge
|
||||
v-if="myrec.myreact"
|
||||
color="primary"
|
||||
:label="myrec.myreact.numseen ? myrec.myreact.numseen : 0"
|
||||
floating
|
||||
@@ -61,6 +61,7 @@
|
||||
@click="clicca(costanti.TIPOFAVBOOK.FAVORITE, true, '')"
|
||||
>
|
||||
<q-badge
|
||||
v-if="myrec.myreact"
|
||||
color="primary"
|
||||
:label="myrec.myreact.numfav ? myrec.myreact.numfav : 0"
|
||||
floating
|
||||
@@ -81,6 +82,7 @@
|
||||
@click="clicca(costanti.TIPOFAVBOOK.BOOKMARK, true, '')"
|
||||
>
|
||||
<q-badge
|
||||
v-if="myrec.myreact"
|
||||
color="primary"
|
||||
:label="myrec.myreact.numbook ? myrec.myreact.numbook : 0"
|
||||
floating
|
||||
@@ -124,7 +126,7 @@
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-if="!nopopup"
|
||||
v-if="!nopopup && myrec.myreact"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="naviga(tools.getPathByTableAndRec(table, myrec))"
|
||||
@@ -138,6 +140,7 @@
|
||||
</q-item>
|
||||
<q-separator />
|
||||
<q-item
|
||||
v-if="myrec.myreact"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
@@ -166,6 +169,7 @@
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-if="myrec.myreact"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
@@ -223,6 +227,7 @@
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-if="myrec.myreact"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
|
||||
Reference in New Issue
Block a user