From 96cff7879f0d39d95e15adb17fc644639dd0fb44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E9=B9=B0?= <17kungfuboy@gmail.com> Date: Wed, 13 Jul 2022 18:38:48 +0800 Subject: [PATCH] feat: add ellipsis --- .../app/shared/components/env-list/env-list.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/workbench/browser/src/app/shared/components/env-list/env-list.component.ts b/src/workbench/browser/src/app/shared/components/env-list/env-list.component.ts index 5c9decfb5..5eb77dfb0 100644 --- a/src/workbench/browser/src/app/shared/components/env-list/env-list.component.ts +++ b/src/workbench/browser/src/app/shared/components/env-list/env-list.component.ts @@ -9,8 +9,8 @@ import { StorageService } from '../../services/storage'; Environment variable
- {{ it.name }} - {{ it.description }} + {{ it.name }} + {{ it.value }}
`, styleUrls: [], @@ -27,7 +27,7 @@ export class EnvListComponent implements OnInit { const envList = (await this.getAllEnv()) as []; const [env]: any[] = envList.filter((it: any) => it.uuid === uuid); console.log(env, envList); - this.envParams = env.parameters.filter((it: any) => it.name && it.value); + this.envParams = env.parameters; } getAllEnv(uuid?: number) { const projectID = 1;