0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00

Removed archived Tiers from complimentary select

refs https://github.com/TryGhost/Team/issues/1252

Archived Tiers should not be able to be used to create new subscriptions.
This commit is contained in:
Fabien "egg" O'Carroll 2022-01-21 15:40:54 +02:00
parent 4404dc179f
commit 98030859a5

View file

@ -17,7 +17,7 @@ export default class ModalMemberProduct extends ModalComponent {
@task({drop: true})
*fetchProducts() {
this.products = yield this.store.query('product', {filter: 'type:paid', include: 'monthly_price,yearly_price,benefits'});
this.products = yield this.store.query('product', {filter: 'type:paid+active:true', include: 'monthly_price,yearly_price,benefits'});
this.loadingProducts = false;
if (this.products.length > 0) {