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 828eeb5ebb
commit ee610a906a
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) => {