Skip to content

Commit

Permalink
bugfix: show status if no thumbnail exists
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Dej <meteyou@gmail.com>
  • Loading branch information
meteyou committed Sep 1, 2020
1 parent ae30257 commit d3c3113
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/panels/StatusPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<v-col
class="col-12 pv-0 col-sm-4 pr-sm-0"
v-if="current_file_metadata &&
current_file_metadata.thumbnails &&
current_file_metadata.thumbnails.length &&
current_file_metadata.thumbnails.find(element => element.width === 400)
">
Expand All @@ -39,6 +40,7 @@
<v-col
:class="
(current_file_metadata &&
current_file_metadata.thumbnails &&
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'
">
Expand Down

0 comments on commit d3c3113

Please sign in to comment.