aggio2
This commit is contained in:
@@ -138,10 +138,10 @@ export default defineComponent({
|
||||
|
||||
function clicca(tipo: any, set: any, title: string) {
|
||||
if (set && myrec.value.username !== userStore.my.username && tipo === costanti.TIPOFAVBOOK.FAVORITE) {
|
||||
userStore.setFavorite($q, t, myrec.value._id, props.table, myrec.value);
|
||||
userStore.setFavorite($q, t, myrec.value._id, props.table);
|
||||
}
|
||||
if (set && myrec.value.username !== userStore.my.username && tipo === costanti.TIPOFAVBOOK.BOOKMARK) {
|
||||
userStore.setBookmark($q, t, myrec.value._id, props.table, myrec.value);
|
||||
userStore.setBookmark($q, t, myrec.value._id, props.table);
|
||||
}
|
||||
|
||||
if (!set) {
|
||||
|
||||
Reference in New Issue
Block a user