Skip to content

Commit

Permalink
chore: enable AWS S3 Send destination on production (#3394)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak authored Jul 9, 2024
1 parent 0236f93 commit 9e1d63e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions editor.planx.uk/src/@planx/components/Send/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,17 @@ const SendComponent: React.FC<Props> = (props) => {
value: Destination.Email,
label: "Email to planning office",
},
];

// Show S3 & Nexus options on staging only
if (process.env.REACT_APP_ENV !== "production") {
options.push({
{
value: Destination.S3,
label: "Upload to AWS S3 bucket",
});
},
];

// Show Nexus option on staging only
if (process.env.REACT_APP_ENV !== "production") {
options.push({
value: Destination.Idox,
label: "Idox Nexus",
label: "Idox Nexus (testing only)",
});
}

Expand Down

0 comments on commit 9e1d63e

Please sign in to comment.