From f3766091bda8a8364ab520885b42f88aa933b7ce Mon Sep 17 00:00:00 2001 From: Rishabh Date: Sun, 9 May 2021 23:28:44 +0530 Subject: [PATCH] Disabled price actions on product save no refs Disables Edit/Archive actions on a price while an active save is ongoing for Product to avoid unwanted states due to multiple saves being called. --- ghost/admin/app/templates/settings/product.hbs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ghost/admin/app/templates/settings/product.hbs b/ghost/admin/app/templates/settings/product.hbs index 218b2832e6..1c3d764714 100644 --- a/ghost/admin/app/templates/settings/product.hbs +++ b/ghost/admin/app/templates/settings/product.hbs @@ -77,7 +77,8 @@
There are no prices for this product
{{#if this.settings.stripeConnectAccountId}} {{#unless this.product.isNew}} - {{/unless}} @@ -112,11 +113,11 @@ Edit {{#if price.active}} - {{else}} - {{/if}}