Skip to content

Commit 88f81d0

Browse files
committed
fix(Bookmark): Prevent more 404 errors
see #1878 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 674884e commit 88f81d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Bookmark.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ export default {
380380
this.$store.commit(mutations.SET_NOTIFICATION, this.t('bookmarks', 'Link copied to clipboard'))
381381
},
382382
async fetchBackgroundImage() {
383-
if (this.bookmark.lastPreview === 0) {
383+
if (!this.bookmark.lastPreview) {
384384
return
385385
}
386386
try {
@@ -392,7 +392,7 @@ export default {
392392
},
393393
async fetchIcon() {
394394
this.iconLoaded = false
395-
if (this.bookmark.lastPreview === 0) {
395+
if (!this.bookmark.lastPreview) {
396396
return
397397
}
398398
try {

0 commit comments

Comments
 (0)