Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
apps/containers: Show env name instead of display_name
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Guidée <[email protected]>
  • Loading branch information
quentinguidee committed Jan 31, 2024
1 parent a946d44 commit 715e796
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/apps/Containers/pages/ContainerEnv/ContainerEnv.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import { useEffect, useState } from "react";
import { useParams } from "react-router-dom";
import EnvVariableInput from "../../components/EnvVariableInput/EnvVariableInput";
import { Button, MaterialIcon, Table, Title } from "@vertex-center/components";
import {
Button,
InlineCode,
MaterialIcon,
Table,
Title,
} from "@vertex-center/components";
import { Horizontal } from "../../../../components/Layouts/Layouts";
import { useContainerEnv } from "../../hooks/useContainer";
import styles from "./ContainerEnv.module.sass";
Expand Down Expand Up @@ -62,7 +68,9 @@ export default function ContainerEnv() {
<tbody>
{env?.map((env, i) => (
<tr key={env.name}>
<td>{env.display_name}</td>
<td>
<InlineCode>{env.name}</InlineCode>
</td>
<td>
<EnvVariableInput
id={env.name}
Expand Down

0 comments on commit 715e796

Please sign in to comment.