Skip to content

Commit

Permalink
add index to img previews before submit
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed Mar 24, 2024
1 parent 4590ced commit 9879aaa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/chat/ChatFeed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@

<div class="d-flex mt-2 row">
<img
v-for="imgLink in getAllImagesFromText(postText)"
v-for="(imgLink, index) in getAllImagesFromText(postText)"
:src="imgLink"
:key="index"
class="img-fluid img-thumbnail m-1 col-2"
/>
</div>
Expand Down

0 comments on commit 9879aaa

Please sign in to comment.