mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05: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
1 changed files with 1 additions and 9 deletions
|
@ -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…
Add table
Reference in a new issue