Put key on child

pull/37/head
Varun Patil 2022-09-12 23:16:25 -07:00
parent 0a648d27f1
commit 4dafc434f4
3 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,6 @@
<div class="container" ref="container" :class="{ 'icon-loading': loading }"> <div class="container" ref="container" :class="{ 'icon-loading': loading }">
<!-- Main recycler view for rows --> <!-- Main recycler view for rows -->
<RecycleScroller <RecycleScroller
v-if="list.length > 0"
ref="recycler" ref="recycler"
class="recycler" class="recycler"
:items="list" :items="list"
@ -23,9 +22,11 @@
<div class="photo" v-for="photo of item.photos" :key="photo.fileid"> <div class="photo" v-for="photo of item.photos" :key="photo.fileid">
<Folder v-if="photo.isfolder" <Folder v-if="photo.isfolder"
:key="state"
:data="photo" :data="photo"
:rowHeight="rowHeight" /> :rowHeight="rowHeight" />
<Photo v-else <Photo v-else
:key="state"
:data="photo" :data="photo"
:rowHeight="rowHeight" :rowHeight="rowHeight"
:day="item.day" :day="item.day"