From 869f18483f3431a3377c52d5ed93f3b06023b08a Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 27 Mar 2021 22:02:01 +0100 Subject: [PATCH] web: fix flow's policy and stage count missing Signed-off-by: Jens Langhammer --- web/src/pages/flows/FlowListPage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/pages/flows/FlowListPage.ts b/web/src/pages/flows/FlowListPage.ts index 84c7d9d76..1dc88d311 100644 --- a/web/src/pages/flows/FlowListPage.ts +++ b/web/src/pages/flows/FlowListPage.ts @@ -57,8 +57,8 @@ export class FlowListPage extends TablePage { `, html`${item.name}`, html`${item.designation}`, - html`${item.stages?.size}`, - html`${item.policies?.size}`, + html`${Array.from(item.stages || []).length}`, + html`${Array.from(item.policies || []).length}`, html`