- Allowed Product IDs (Optional)
+
+ Allowed Product IDs (Optional)
+
Optional: choose product IDs to show in Vercel plans.
@@ -314,8 +298,9 @@ export const ConfigureVercel = () => {
No products found
) : (
productOptions.map((option) => {
- const isSelected =
- activeAllowedProductIds.includes(option.value);
+ const isSelected = activeAllowedProductIds.includes(
+ option.value,
+ );
return (
{
? activeAllowedProductIds.filter(
(id) => id !== option.value,
)
- : [...activeAllowedProductIds, option.value];
+ : [
+ ...activeAllowedProductIds,
+ option.value,
+ ];
setActiveAllowedProductIds(nextValue);
setOpen(false);
}
@@ -373,7 +361,7 @@ export const ConfigureVercel = () => {
-
+
Base URL
@@ -386,6 +374,7 @@ export const ConfigureVercel = () => {
{env === "live" ? "Live" : "Sandbox"}
navigator.clipboard.writeText(
`https://api.useautumn.com/webhooks/vercel/${org?.id}/${env}`,
@@ -396,7 +385,7 @@ export const ConfigureVercel = () => {
{`https://api.useautumn.com/webhooks/vercel/${org?.id}/${env}`}