Skip to content

Commit

Permalink
Revert "Revert "A4A Dev Sites: Add Refer to client button back to t…
Browse files Browse the repository at this point in the history
…he Hosti…" (#95205)

This reverts commit 004002d.
  • Loading branch information
andregardi authored Oct 7, 2024
1 parent a44e41c commit fd7c2e1
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import config from '@automattic/calypso-config';
import { WPCOM_FEATURES_SITE_PREVIEW_LINKS } from '@automattic/calypso-products';
import { Card, CompactCard, Button } from '@automattic/components';
import formatCurrency from '@automattic/format-currency';
Expand Down Expand Up @@ -77,10 +76,7 @@ const LaunchSite = () => {
const price = formatCurrency( agency?.prices?.actual_price, agency?.prices?.currency );
const siteReferralActive = agency?.referral_status === 'active';
const shouldShowReferToClientButton =
config.isEnabled( 'a4a-dev-sites-referral' ) &&
isDevelopmentSite &&
! siteReferralActive &&
! agencyLoading;
isDevelopmentSite && ! siteReferralActive && ! agencyLoading;
const shouldShowAgencyBillingMessage =
isDevelopmentSite && ! siteReferralActive && ! agencyLoading;

Expand Down
1 change: 0 additions & 1 deletion config/development.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"100-year-plan/vip": true,
"ad-tracking": false,
"a4a-dev-sites": true,
"a4a-dev-sites-referral": true,
"akismet/checkout-quantity-dropdown": true,
"automated-migration/collect-credentials": true,
"calypso/ai-blogging-prompts": true,
Expand Down
1 change: 0 additions & 1 deletion config/horizon.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"100-year-plan/vip": false,
"ad-tracking": false,
"a4a-dev-sites": true,
"a4a-dev-sites-referral": false,
"automated-migration/collect-credentials": true,
"calypso/ai-blogging-prompts": false,
"calypso/ai-assembler": true,
Expand Down
1 change: 0 additions & 1 deletion config/production.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"100-year-plan/vip": false,
"ad-tracking": true,
"a4a-dev-sites": true,
"a4a-dev-sites-referral": false,
"akismet/checkout-quantity-dropdown": true,
"automated-migration/collect-credentials": true,
"calypso/ai-blogging-prompts": false,
Expand Down
1 change: 0 additions & 1 deletion config/stage.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"100-year-plan/vip": false,
"ad-tracking": false,
"a4a-dev-sites": true,
"a4a-dev-sites-referral": false,
"akismet/checkout-quantity-dropdown": true,
"automated-migration/collect-credentials": true,
"calypso/ai-blogging-prompts": false,
Expand Down
1 change: 0 additions & 1 deletion config/test.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"100-year-plan/vip": false,
"ad-tracking": false,
"a4a-dev-sites": true,
"a4a-dev-sites-referral": false,
"akismet/checkout-quantity-dropdown": true,
"automated-migration/collect-credentials": true,
"calypsoify/plugins": true,
Expand Down
1 change: 0 additions & 1 deletion config/wpcalypso.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"100-year-plan/vip": false,
"ad-tracking": false,
"a4a-dev-sites": true,
"a4a-dev-sites-referral": false,
"akismet/checkout-quantity-dropdown": true,
"automated-migration/collect-credentials": true,
"calypso/ai-blogging-prompts": true,
Expand Down

0 comments on commit fd7c2e1

Please sign in to comment.