Fixed unsued variable

refs 53ed578140
This commit is contained in:
Thibaut Patel 2021-12-07 11:39:07 +01:00
parent d46a94f6ba
commit cbf7e1a740

View File

@ -23,7 +23,7 @@ export default class KoenigCardProductComponent extends Component {
imageMimeTypes = IMAGE_MIME_TYPES;
get isEmpty() {
const {productTitle, productDescription, productUrl, productButton, productImageSrc, productRatingEnabled, productButtonEnabled, productStarRating} = this.args.payload;
const {productTitle, productDescription, productUrl, productButton, productImageSrc, productRatingEnabled, productButtonEnabled} = this.args.payload;
return isBlank(productTitle) && isBlank(productDescription) && (!productButtonEnabled || (isBlank(productUrl) || isBlank(productButton))) && isBlank(productImageSrc) && !productRatingEnabled;
}