Add key to preview images

pull/37/head
Varun Patil 2022-08-20 08:35:42 +00:00
parent 89f044f125
commit 7633fd495b
3 changed files with 6 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

@ -10,11 +10,12 @@
}">
<div class="big-icon">
<div class="icon-folder"></div>
<div class="name">{{ data.name }}</div>
<div class="name">{{ data.name }} wer wer wer wer wr wer werw rw wr wr</div>
</div>
<div class="previews">
<img v-for="info of previewFileInfos"
:key="'fpreview-' + info.file_id"
:src="`/core/preview?fileId=${info.fileid}&c=${info.etag}&x=250&y=250&forceIcon=0&a=0`" />
</div>
</div>
@ -92,6 +93,7 @@ export default {
word-wrap: break-word;
text-overflow: ellipsis;
max-height: 35%;
line-height: 1em;
}
.icon-folder {
cursor: pointer;