Skip to content

Commit 8d58b7f

Browse files
fix: fallback image in classic block (#1105)
1 parent 54fd810 commit 8d58b7f

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
@@ -226,7 +226,7 @@ class Editor extends Component {
226226

227227
getImageURL(item, background) {
228228
let url;
229-
if (item.thumbnail) {
229+
if (item.thumbnail && this.props.attributes.thumb === 'auto') {
230230
url = item.thumbnail;
231231
} else if (this.props.attributes.default) {
232232
url = this.props.attributes.default.url;

0 commit comments

Comments
 (0)