bugfix: show status if no thumbnail exists
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
parent
ae30257ee1
commit
d3c3113c43
@ -28,6 +28,7 @@
|
|||||||
<v-col
|
<v-col
|
||||||
class="col-12 pv-0 col-sm-4 pr-sm-0"
|
class="col-12 pv-0 col-sm-4 pr-sm-0"
|
||||||
v-if="current_file_metadata &&
|
v-if="current_file_metadata &&
|
||||||
|
current_file_metadata.thumbnails &&
|
||||||
current_file_metadata.thumbnails.length &&
|
current_file_metadata.thumbnails.length &&
|
||||||
current_file_metadata.thumbnails.find(element => element.width === 400)
|
current_file_metadata.thumbnails.find(element => element.width === 400)
|
||||||
">
|
">
|
||||||
@ -39,6 +40,7 @@
|
|||||||
<v-col
|
<v-col
|
||||||
:class="
|
:class="
|
||||||
(current_file_metadata &&
|
(current_file_metadata &&
|
||||||
|
current_file_metadata.thumbnails &&
|
||||||
current_file_metadata.thumbnails.length &&
|
current_file_metadata.thumbnails.length &&
|
||||||
current_file_metadata.thumbnails.find(element => element.width === 400)) ? 'col-12 pv-0 col-sm-8 pl-sm-0' : 'col-12 pv-0'
|
current_file_metadata.thumbnails.find(element => element.width === 400)) ? 'col-12 pv-0 col-sm-8 pl-sm-0' : 'col-12 pv-0'
|
||||||
">
|
">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user