web: fix linting

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-28 09:39:21 +02:00
parent f9ad102915
commit 1f2f48a7bc
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -53,8 +53,8 @@ export class BoundStagesList extends Table<FlowStageBinding> {
.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) => {