+ wishlist item is active fix
This commit is contained in:
@@ -45,6 +45,8 @@ const hoveredCancelReservationButton = reactive(new Map<string, boolean>())
|
||||
const fetchWishlist = async () => {
|
||||
await getWishlist(route.params.id)
|
||||
.then((res) => {
|
||||
activeItems.value = []
|
||||
disabledItems.value = []
|
||||
wishlist.value = res
|
||||
wishlist.value?.items.forEach((item: WishlistItem) => {
|
||||
selectedImage.set(item.id, item.images[0])
|
||||
|
||||
Reference in New Issue
Block a user