Skip to content

Commit 366a447

Browse files
committed
Update ImageItem.vue
1 parent f405524 commit 366a447

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

electron_app/src/components/ImageItem.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
</div>
1919

2020

21-
<img @click="open_image_popup( path )" class="gal_img" :src="'file://' + path " style="max-height: 100% ; max-width: 100%;" >
21+
<img v-if="path != 'nsfw'" @click="open_image_popup( path )" class="gal_img" :src="'file://' + path " style="max-height: 100% ; max-width: 100%;" >
22+
<img v-else @click="open_image_popup( path )" class="gal_img" :src="require('@/assets/nsfw.png')" style="max-height: 100% ; max-width: 100%;" >
2223
<br>
2324
<div v-if="!hide_extra_save_button" @click="save_image(path)" class="l_button">Save Image</div>
2425
</div>

0 commit comments

Comments
 (0)