aboutsummaryrefslogtreecommitdiff
path: root/src/components/gallery
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2019-07-07 00:54:17 +0300
committerHenry Jameson <me@hjkos.com>2019-07-07 00:54:17 +0300
commit020c6d1bcfaf67ccb9ecdab13a39a1ddea868bb6 (patch)
tree2c4d29afd542e288ad1907609a1b12c7c0719e31 /src/components/gallery
parent1ec4caa0bbea18854a8a7bccaa7e2a0ea8bdf79e (diff)
all the manual fixes
Diffstat (limited to 'src/components/gallery')
-rw-r--r--src/components/gallery/gallery.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue
index 577f2144..6adfb76c 100644
--- a/src/components/gallery/gallery.vue
+++ b/src/components/gallery/gallery.vue
@@ -4,7 +4,8 @@
style="width: 100%;"
>
<div
- v-for="row in rows"
+ v-for="(row, index) in rows"
+ :key="index"
class="gallery-row"
:style="rowHeight(row.length)"
:class="{ 'contain-fit': useContainFit, 'cover-fit': !useContainFit }"