remove useless logs
This commit is contained in:
parent
5c959bff95
commit
ebe4f300a1
1 changed files with 0 additions and 4 deletions
|
|
@ -46,14 +46,10 @@ const { user } = useUserStore();
|
||||||
const api = useApiStore();
|
const api = useApiStore();
|
||||||
|
|
||||||
// State
|
// State
|
||||||
console.log(item.favoriteForUsers);
|
|
||||||
const isFavorite = computed(() => {
|
const isFavorite = computed(() => {
|
||||||
return item.favoriteForUsers?.includes(user.uuid) ?? false;
|
return item.favoriteForUsers?.includes(user.uuid) ?? false;
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(item.favoriteForUsers);
|
|
||||||
console.log(user.uuid);
|
|
||||||
|
|
||||||
// Methods
|
// Methods
|
||||||
async function toggleFavorite() {
|
async function toggleFavorite() {
|
||||||
const previousState = isFavorite.value;
|
const previousState = isFavorite.value;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue