Skip to content

Commit

Permalink
fix: add fallback for gcode files without thumbnail (#959)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Dej meteyou@gmail.com
  • Loading branch information
meteyou authored Jul 10, 2022
1 parent d1c1b07 commit 46aa7cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/panels/GcodefilesPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@
<span><img :src="item.big_thumbnail" width="250" :alt="item.filename" /></span>
</v-tooltip>
</template>
<template v-else>
<v-icon>{{ mdiFile }}</v-icon>
</template>
</td>
<td class=" ">{{ item.filename }}</td>
<td class="text-right text-no-wrap">
Expand Down

0 comments on commit 46aa7cc

Please sign in to comment.