mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Hid archived tiers from offer creation page
refs https://github.com/TryGhost/Team/issues/1430
This commit is contained in:
parent
d1530c8285
commit
0332629a10
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ export default class OffersController extends Controller {
|
|||
|
||||
@task({drop: true})
|
||||
*fetchProducts() {
|
||||
this.products = yield this.store.query('product', {filter: 'type:paid', include: 'monthly_price,yearly_price'});
|
||||
this.products = yield this.store.query('product', {filter: 'type:paid+active:true', include: 'monthly_price,yearly_price'});
|
||||
this.products = this.products.filter((d) => {
|
||||
return d.monthlyPrice && d.yearlyPrice;
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue