forked from FoundKeyGang/FoundKey
Fix bug
This commit is contained in:
parent
598500223a
commit
16d4861ff6
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
<div class="preview">
|
<div class="preview">
|
||||||
<img if={ kind == 'image' } src={ file.url } alt={ file.name } title={ file.name }>
|
<img if={ kind == 'image' } src={ file.url } alt={ file.name } title={ file.name }>
|
||||||
<i if={ kind != 'image' } class="fa fa-file"></i>
|
<i if={ kind != 'image' } class="fa fa-file"></i>
|
||||||
<footer if={ kind == 'image' }>
|
<footer if={ kind == 'image' && file.properties && file.properties.width && file.properties.height }>
|
||||||
<span class="size">
|
<span class="size">
|
||||||
<span class="width">{ file.properties.width }</span>
|
<span class="width">{ file.properties.width }</span>
|
||||||
<span class="time">×</span>
|
<span class="time">×</span>
|
||||||
|
|
Loading…
Reference in a new issue