- Aggiunto bottone Aggiungi al Carrello sulla lista dei libri dei cataloghi

This commit is contained in:
Surya Paolo
2025-06-06 00:07:47 +02:00
parent 06fe6eb861
commit 664975b1fd
36 changed files with 1110 additions and 751 deletions

View File

@@ -74,7 +74,7 @@ export default defineComponent({
const argomentistr = ref('')
const numprodtot = ref(0)
const editorestr = ref('')
const editore_escludi_str = ref('')
const editorestr_escludi = ref('')
const products = useProducts()
@@ -142,11 +142,11 @@ export default defineComponent({
editorestr.value += rectrovato?.name + ' '
}
}
editore_escludi_str.value = ''
editorestr_escludi.value = ''
if (myrec.value.editore_escludi) {
for (const receditore of myrec.value.editore_escludi) {
const rectrovato: IPublisher = products.publishers.find((editore: IPublisher) => editore._id === receditore)
editores_escludi_tr.value += rectrovato?.name + ' '
editorestr_escludi.value += rectrovato?.name + ' '
}
}

View File

@@ -93,7 +93,7 @@
<span class="text-blue">{{ editorestr }}</span>
</div>
<div
v-if="!tools.isUtente() && editore_escludi_str && dettagli"
v-if="!tools.isUtente() && editorestr_escludi && dettagli"
class="text-caption text-h7 text-grey q-pb-xs"
>
<q-icon name="fas fa-book-open" /> {{ $t('cataloglist.editore_escludi') }}: