Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Use image id for key to prevent weird reordering when toggling filters (#1554)
sarayourfriendbf2495e63fc8
diff --git a/src/components/VImageGrid/VImageGrid.vue b/src/components/VImageGrid/VImageGrid.vueindex db87c998c..3ea017eb3 100644--- a/src/components/VImageGrid/VImageGrid.vue+++ b/src/components/VImageGrid/VImageGrid.vue@@ -3,7 +3,7 @@<div class="image-grid flex flex-wrap gap-4"><VImageCellv-for="(image, index) in images"- :key="index"+ :key="image.id":image="image"@shift-tab="handleShiftTab($event, index)"/>