web: fix flow's policy and stage count missing

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-03-27 22:02:01 +01:00
parent a4fd0dc597
commit 869f18483f
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ export class FlowListPage extends TablePage<Flow> {
</a>`,
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`
<ak-modal-button href="${AdminURLManager.flows(`${item.pk}/update/`)}">
<ak-spinner-button slot="trigger" class="pf-m-secondary">