From 59b072e7e06d26ed82234e92cfc302b71a4070b9 Mon Sep 17 00:00:00 2001 From: Lorenzo Migliorero Date: Mon, 22 Jul 2024 12:24:12 +0200 Subject: [PATCH] feat: scope to dockerfile buildtype --- .../application/environment/show.tsx | 50 ++++++++++--------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/components/dashboard/application/environment/show.tsx b/components/dashboard/application/environment/show.tsx index 9f4de047..e1873458 100644 --- a/components/dashboard/application/environment/show.tsx +++ b/components/dashboard/application/environment/show.tsx @@ -92,30 +92,32 @@ export const ShowEnvironment = ({ applicationId }: Props) => { /> -
- - - Available only at build-time. See documentation  - - here - - . - - } - placeholder="NPM_TOKEN=xyz" - /> - - + {data?.buildType === "dockerfile" && ( +
+ + + Available only at build-time. See documentation  + + here + + . + + } + placeholder="NPM_TOKEN=xyz" + /> + + + )} ); };