diff --git a/junior/app/components/challenge/item/component.js b/junior/app/components/challenge/item/component.js index d8bfc003eae..b4152b7691e 100644 --- a/junior/app/components/challenge/item/component.js +++ b/junior/app/components/challenge/item/component.js @@ -13,7 +13,7 @@ export default class Item extends Component { }); } get isMediaWithForm() { - return this.args.challenge.hasForm && this.hasMedia && this.args.challenge.type !== undefined; + return this.args.challenge.hasForm && this.hasMedia && !!this.args.challenge.type; } get hasMedia() {