Skip to content

Commit

Permalink
fix: use unique key for posts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Mar 15, 2024
1 parent 0405e9c commit e343708
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/posts/[domain].vue
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,9 @@
</button>

<!-- Post -->
<!-- Fix: use domain + post.id as unique key, since virtualRow.index could be the same on different Boorus/pages -->
<Post
:key="selectedBooru.domain + '-' + allRows[virtualRow.index].id"
:domain="selectedBooru.domain"
:post="allRows[virtualRow.index]"
:selected-tags="selectedTags"
Expand Down

0 comments on commit e343708

Please sign in to comment.