web/admin: fix application form's provider selection not working

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-04-11 13:33:35 +02:00
parent 8df29235bb
commit ab4569e5d6
4 changed files with 8 additions and 13 deletions

View File

@ -75,11 +75,11 @@ export class ApplicationListPage extends TablePage<Application> {
</a>`,
html`<code>${item.slug}</code>`,
item.provider ?
html`<a href="#/core/providers/${item.provider.pk}">
${item.provider?.name}
html`<a href="#/core/providers/${item.providerObj?.pk}">
${item.providerObj?.name}
</a>` :
html`-`,
html`${item.provider?.verboseName || "-"}`,
html`${item.providerObj?.verboseName || "-"}`,
html`
<ak-forms-modal>
<span slot="submit">