Removed portal option for default product for tiers UI

no refs

This change reverts the last commit to add portal option to product as it breaks the model that is passed to popup.

This reverts commit 5f538b5036.
This commit is contained in:
Rishabh 2021-06-04 16:13:04 +05:30
parent 5f538b5036
commit 72ca4ded76

View File

@ -14,15 +14,7 @@ export default class extends Component {
@tracked productModel = null;
get products() {
return this.args.products.map((product, idx) => {
if (idx === 0) {
return {
...product.toJSON(),
portal: true
};
}
return product;
});
return this.args.products;
}
@action