web/admin: fix stage related flows not being shown in a list
closes #1941 Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
a105760123
commit
bb34474101
|
@ -107,11 +107,15 @@ export class StageListPage extends TablePage<Stage> {
|
||||||
<div>${item.name}</div>
|
<div>${item.name}</div>
|
||||||
<small>${item.verboseName}</small>
|
<small>${item.verboseName}</small>
|
||||||
</div>`,
|
</div>`,
|
||||||
html`${item.flowSet?.map((flow) => {
|
html`<ul class="pf-c-list">
|
||||||
return html`<a href="#/flow/flows/${flow.slug}">
|
${item.flowSet?.map((flow) => {
|
||||||
|
return html`<li>
|
||||||
|
<a href="#/flow/flows/${flow.slug}">
|
||||||
<code>${flow.slug}</code>
|
<code>${flow.slug}</code>
|
||||||
</a>`;
|
</a>
|
||||||
})}`,
|
</li>`;
|
||||||
|
})}
|
||||||
|
</ul>`,
|
||||||
html` <ak-forms-modal>
|
html` <ak-forms-modal>
|
||||||
<span slot="submit"> ${t`Update`} </span>
|
<span slot="submit"> ${t`Update`} </span>
|
||||||
<span slot="header"> ${t`Update ${item.verboseName}`} </span>
|
<span slot="header"> ${t`Update ${item.verboseName}`} </span>
|
||||||
|
|
Reference in a new issue