Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus committed Oct 11, 2024
1 parent 528e45f commit 460b651
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ export const OrderEnvironments: FC<OrderEnvironmentsProps> = () => {
'purchaseAdditionalEnvironments',
);

// if (!isPro() || !isPurchaseAdditionalEnvironmentsEnabled) {
// return null;
// }
if (!isPro() || !isPurchaseAdditionalEnvironmentsEnabled) {
return null;
}

const onSubmit = (environments: string[]) => {
setPurchaseDialogOpen(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import FormTemplate from 'component/common/FormTemplate/FormTemplate';
import { OrderEnvironmentsDialogPricing } from './OrderEnvironmentsDialogPricing/OrderEnvironmentsDialogPricing';
import GeneralSelect from 'component/common/GeneralSelect/GeneralSelect';
import Input from 'component/common/Input/Input';
import { usePlausibleTracker } from '../../../../../hooks/usePlausibleTracker';
import { usePlausibleTracker } from 'hooks/usePlausibleTracker';

type OrderEnvironmentsDialogProps = {
open: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Box, Button, styled, Typography } from '@mui/material';
import { ThemeMode } from 'component/common/ThemeMode/ThemeMode';
import { ReactComponent as ProPlanIcon } from 'assets/icons/pro-enterprise-feature-badge.svg';
import { ReactComponent as ProPlanIconLight } from 'assets/icons/pro-enterprise-feature-badge-light.svg';
import { usePlausibleTracker } from '../../../../../hooks/usePlausibleTracker';
import { usePlausibleTracker } from 'hooks/usePlausibleTracker';

type PurchasableFeatureProps = {
title: ReactNode;
Expand Down
4 changes: 3 additions & 1 deletion src/lib/services/email-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,9 @@ export class EmailService {
const email = {
from: this.sender,
to: userEmail,
bcc: process.env.ORDER_ENVIRONMENTS_BCC || '[email protected]',
bcc:
process.env.ORDER_ENVIRONMENTS_BCC ||
'[email protected]',
subject: ORDER_ENVIRONMENTS_SUBJECT,
html: bodyHtml,
text: bodyText,
Expand Down

0 comments on commit 460b651

Please sign in to comment.