mirror of
https://github.com/ThisIsBenny/wishlist-app.git
synced 2025-04-19 23:37:41 +00:00
fix issue when items are removed
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
a7f6378cc9
commit
e2c35214ce
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ const handleDeleteItem = async (item: WishlistItemType): Promise<void> => {
|
||||||
v-if="filteredItems.length > 0"
|
v-if="filteredItems.length > 0"
|
||||||
class="flex flex-col space-y-14 py-10 md:space-y-8"
|
class="flex flex-col space-y-14 py-10 md:space-y-8"
|
||||||
>
|
>
|
||||||
<div v-for="(item, index) in filteredItems" :key="index">
|
<div v-for="item in filteredItems" :key="item.id">
|
||||||
<WishlistItem
|
<WishlistItem
|
||||||
v-if="!editModeIsActive"
|
v-if="!editModeIsActive"
|
||||||
:item="item"
|
:item="item"
|
||||||
|
|
Loading…
Add table
Reference in a new issue