diff --git a/web/src/api/Applications.ts b/web/src/api/Applications.ts index 2e0c8337c..9d8cb11db 100644 --- a/web/src/api/Applications.ts +++ b/web/src/api/Applications.ts @@ -5,7 +5,7 @@ export class Application { pk: string; name: string; slug: string; - provider: Provider; + provider?: Provider; launch_url: string; meta_launch_url: string; diff --git a/web/src/pages/applications/ApplicationListPage.ts b/web/src/pages/applications/ApplicationListPage.ts index 400eb5abb..b7b23f0f1 100644 --- a/web/src/pages/applications/ApplicationListPage.ts +++ b/web/src/pages/applications/ApplicationListPage.ts @@ -58,8 +58,8 @@ export class ApplicationList extends TablePage { ${item.meta_publisher ? html`${item.meta_publisher}` : html``} `, html`${item.slug}`, - html`${item.provider.name}`, - html`${item.provider.verbose_name}`, + html`${item.provider?.name}`, + html`${item.provider?.verbose_name}`, html`