From 1f2f48a7bccb2c0c9109fc997d3852c7f33bf1b1 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 28 Sep 2021 09:39:21 +0200 Subject: [PATCH] web: fix linting Signed-off-by: Jens Langhammer --- .github/workflows/ci-web.yml | 2 +- web/src/pages/flows/BoundStagesList.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-web.yml b/.github/workflows/ci-web.yml index 9034e1df4..c52e56270 100644 --- a/.github/workflows/ci-web.yml +++ b/.github/workflows/ci-web.yml @@ -61,7 +61,7 @@ jobs: npm install - name: Generate API run: make gen-web - - name: prettier + - name: lit-analyse run: | cd web npm run lit-analyse diff --git a/web/src/pages/flows/BoundStagesList.ts b/web/src/pages/flows/BoundStagesList.ts index e95ec03d1..75b3a2cad 100644 --- a/web/src/pages/flows/BoundStagesList.ts +++ b/web/src/pages/flows/BoundStagesList.ts @@ -53,8 +53,8 @@ export class BoundStagesList extends Table { .objects=${this.selectedElements} .metadata=${(item: FlowStageBinding) => { return [ - { key: t`Stage`, value: item.stageObj?.name }, - { key: t`Stage type`, value: item.stageObj?.verboseName }, + { key: t`Stage`, value: item.stageObj?.name || "" }, + { key: t`Stage type`, value: item.stageObj?.verboseName ||"" }, ]; }} .usedBy=${(item: FlowStageBinding) => {