Skip to content

Commit

Permalink
fix: image preview display condition (#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldmweb authored Aug 16, 2022
1 parent 65e6044 commit d97e137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/popups/SharePopup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
class="bg-lightInput dark:bg-darkInput p-4 rounded-lg w-full flex flex-col lg:flex-row items-start lg:items-center"
>
<img
v-if="image != ``"
v-if="image && image !== ``"
:src="image"
class="h-48 w-full lg:w-48 flex-shrink-0 rounded-lg object-cover lg:h-32 mb-4 lg:mb-0 lg:mr-4"
/>
Expand Down

0 comments on commit d97e137

Please sign in to comment.