Skip to content

Commit c35b8bb

Browse files
fix: fallback image in classic block
1 parent 5bde3d5 commit c35b8bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/FeedzyBlock/Editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class Editor extends Component {
222222
}
223223

224224
getImageURL(item, background) {
225-
let url = item.thumbnail
225+
let url = item.thumbnail && this.props.attributes.thumb === 'auto'
226226
? item.thumbnail
227227
: this.props.attributes.default
228228
? this.props.attributes.default.url

0 commit comments

Comments
 (0)