From 8d4913176a7fc89f9a632a43fbddad83aba647cb Mon Sep 17 00:00:00 2001 From: ianedwards Date: Sat, 27 Apr 2024 12:34:17 -0400 Subject: [PATCH] fix env group typo (#4585) --- dashboard/src/main/home/env-dashboard/tabs/EnvVarsTab.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dashboard/src/main/home/env-dashboard/tabs/EnvVarsTab.tsx b/dashboard/src/main/home/env-dashboard/tabs/EnvVarsTab.tsx index 977e832c2e..e53a62f943 100644 --- a/dashboard/src/main/home/env-dashboard/tabs/EnvVarsTab.tsx +++ b/dashboard/src/main/home/env-dashboard/tabs/EnvVarsTab.tsx @@ -180,14 +180,17 @@ const EnvVarsTab: React.FC = ({ envGroup, fetchEnvGroup }) => { } }); + const envGroupProvider = + envGroup.type === "doppler" ? "Doppler" : "Infisical"; + return ( <> Environment variables {envGroup.type === "doppler" || envGroup.type === "infisical" ? ( - {envGroup.type === "doppler" ? "Doppler" : "Infisical"} environment - variables can only be updated from the Doppler dashboard. + {envGroupProvider} environment variables can only be updated from the{" "} + {envGroupProvider} dashboard. ) : (