Frontend: Add data-uid to photo elements

This commit is contained in:
Theresa Gresch 2020-05-28 10:01:49 +02:00
parent 6c6224a7e8
commit d2dc39c5ff

View file

@ -19,6 +19,7 @@
<v-flex <v-flex
v-for="(photo, index) in photos" v-for="(photo, index) in photos"
:key="index" :key="index"
:data-uid="photo.UID"
class="p-photo" class="p-photo"
xs12 sm6 md4 lg3 d-flex xs12 sm6 md4 lg3 d-flex
v-bind:class="{ 'is-selected': $clipboard.has(photo) }" v-bind:class="{ 'is-selected': $clipboard.has(photo) }"