Skip to content

Commit 6bc80ca

Browse files
fix: fallback image in classic block
1 parent 5835fea commit 6bc80ca

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

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

0 commit comments

Comments
 (0)