mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-19 17:52:45 +02:00
Fix
This commit is contained in:
parent
528e45f2bd
commit
460b65107b
@ -18,9 +18,9 @@ export const OrderEnvironments: FC<OrderEnvironmentsProps> = () => {
|
|||||||
'purchaseAdditionalEnvironments',
|
'purchaseAdditionalEnvironments',
|
||||||
);
|
);
|
||||||
|
|
||||||
// if (!isPro() || !isPurchaseAdditionalEnvironmentsEnabled) {
|
if (!isPro() || !isPurchaseAdditionalEnvironmentsEnabled) {
|
||||||
// return null;
|
return null;
|
||||||
// }
|
}
|
||||||
|
|
||||||
const onSubmit = (environments: string[]) => {
|
const onSubmit = (environments: string[]) => {
|
||||||
setPurchaseDialogOpen(false);
|
setPurchaseDialogOpen(false);
|
||||||
|
@ -11,7 +11,7 @@ import FormTemplate from 'component/common/FormTemplate/FormTemplate';
|
|||||||
import { OrderEnvironmentsDialogPricing } from './OrderEnvironmentsDialogPricing/OrderEnvironmentsDialogPricing';
|
import { OrderEnvironmentsDialogPricing } from './OrderEnvironmentsDialogPricing/OrderEnvironmentsDialogPricing';
|
||||||
import GeneralSelect from 'component/common/GeneralSelect/GeneralSelect';
|
import GeneralSelect from 'component/common/GeneralSelect/GeneralSelect';
|
||||||
import Input from 'component/common/Input/Input';
|
import Input from 'component/common/Input/Input';
|
||||||
import { usePlausibleTracker } from '../../../../../hooks/usePlausibleTracker';
|
import { usePlausibleTracker } from 'hooks/usePlausibleTracker';
|
||||||
|
|
||||||
type OrderEnvironmentsDialogProps = {
|
type OrderEnvironmentsDialogProps = {
|
||||||
open: boolean;
|
open: boolean;
|
||||||
|
@ -3,7 +3,7 @@ import { Box, Button, styled, Typography } from '@mui/material';
|
|||||||
import { ThemeMode } from 'component/common/ThemeMode/ThemeMode';
|
import { ThemeMode } from 'component/common/ThemeMode/ThemeMode';
|
||||||
import { ReactComponent as ProPlanIcon } from 'assets/icons/pro-enterprise-feature-badge.svg';
|
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 { ReactComponent as ProPlanIconLight } from 'assets/icons/pro-enterprise-feature-badge-light.svg';
|
||||||
import { usePlausibleTracker } from '../../../../../hooks/usePlausibleTracker';
|
import { usePlausibleTracker } from 'hooks/usePlausibleTracker';
|
||||||
|
|
||||||
type PurchasableFeatureProps = {
|
type PurchasableFeatureProps = {
|
||||||
title: ReactNode;
|
title: ReactNode;
|
||||||
|
@ -476,7 +476,9 @@ export class EmailService {
|
|||||||
const email = {
|
const email = {
|
||||||
from: this.sender,
|
from: this.sender,
|
||||||
to: userEmail,
|
to: userEmail,
|
||||||
bcc: process.env.ORDER_ENVIRONMENTS_BCC || 'ivar@getunleash.io',
|
bcc:
|
||||||
|
process.env.ORDER_ENVIRONMENTS_BCC ||
|
||||||
|
'pro-sales@getunleash.io',
|
||||||
subject: ORDER_ENVIRONMENTS_SUBJECT,
|
subject: ORDER_ENVIRONMENTS_SUBJECT,
|
||||||
html: bodyHtml,
|
html: bodyHtml,
|
||||||
text: bodyText,
|
text: bodyText,
|
||||||
|
Loading…
Reference in New Issue
Block a user