+ {!emptyEnvironmentVariables && (
+
+ {environmentVariables.map((_: unknown, index: number) => (
+
+ ))}
+
+ )}
+ {emptyEnvironmentVariables && (
+
+ The service does not have any environment variables.
+
+ Click "+ New Variable" to add a new environment variable.
+
+ )}
+
+
+
+ New Variable
+
+
+ );
};
-export default Environment;
+export default EnvironmentVariables;
diff --git a/services/frontend/src/components/Modal/Service/Labels.tsx b/services/frontend/src/components/Modal/Service/Labels.tsx
index 1e24306..95e571c 100644
--- a/services/frontend/src/components/Modal/Service/Labels.tsx
+++ b/services/frontend/src/components/Modal/Service/Labels.tsx
@@ -3,7 +3,6 @@ import Record from "../../Record";
import { Button } from "@mui/joy";
import { styled } from "@mui/joy";
import { useCallback } from "react";
-import lodash from "lodash";
const Root = styled("div")`
display: flex;
@@ -49,7 +48,7 @@ const Labels = (props: any) => {