web: fix flow's policy and stage count missing
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
a4fd0dc597
commit
869f18483f
|
@ -57,8 +57,8 @@ export class FlowListPage extends TablePage<Flow> {
|
||||||
</a>`,
|
</a>`,
|
||||||
html`${item.name}`,
|
html`${item.name}`,
|
||||||
html`${item.designation}`,
|
html`${item.designation}`,
|
||||||
html`${item.stages?.size}`,
|
html`${Array.from(item.stages || []).length}`,
|
||||||
html`${item.policies?.size}`,
|
html`${Array.from(item.policies || []).length}`,
|
||||||
html`
|
html`
|
||||||
<ak-modal-button href="${AdminURLManager.flows(`${item.pk}/update/`)}">
|
<ak-modal-button href="${AdminURLManager.flows(`${item.pk}/update/`)}">
|
||||||
<ak-spinner-button slot="trigger" class="pf-m-secondary">
|
<ak-spinner-button slot="trigger" class="pf-m-secondary">
|
||||||
|
|
Reference in a new issue