Aggiornamento a 0.6.1

This commit is contained in:
Surya Paolo
2023-04-07 17:14:51 +02:00
parent 6fad472211
commit 701e1f1968
24 changed files with 284 additions and 131 deletions

View File

@@ -137,10 +137,10 @@ export default defineComponent({
}
function clicca(tipo: any, set: any, title: string) {
if (set && myrec.value.username !== userStore.my.username && tipo === costanti.TIPOFAVBOOK.FAVORITE) {
if (set && tipo === costanti.TIPOFAVBOOK.FAVORITE) {
userStore.setFavorite($q, t, myrec.value._id, props.table, myrec.value);
}
if (set && myrec.value.username !== userStore.my.username && tipo === costanti.TIPOFAVBOOK.BOOKMARK) {
if (set && tipo === costanti.TIPOFAVBOOK.BOOKMARK) {
userStore.setBookmark($q, t, myrec.value._id, props.table, myrec.value);
}