mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
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:
parent
5f538b5036
commit
72ca4ded76
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user