From 41d5bff9d3c97951d5f86191bc7f5bfed7157dea Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 4 Jan 2022 18:49:26 +0100 Subject: [PATCH] web/admin: fix delete form for tenants missing columns Signed-off-by: Jens Langhammer --- web/src/locales/en.po | 1 + web/src/locales/fr_FR.po | 1 + web/src/locales/pseudo-LOCALE.po | 1 + web/src/locales/tr.po | 1 + web/src/pages/tenants/TenantListPage.ts | 5 ++++- 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/web/src/locales/en.po b/web/src/locales/en.po index 364a72ae7..41a8c6382 100644 --- a/web/src/locales/en.po +++ b/web/src/locales/en.po @@ -1549,6 +1549,7 @@ msgstr "Docker URL" #: src/pages/tenants/TenantForm.ts #: src/pages/tenants/TenantListPage.ts +#: src/pages/tenants/TenantListPage.ts msgid "Domain" msgstr "Domain" diff --git a/web/src/locales/fr_FR.po b/web/src/locales/fr_FR.po index de7d1134c..6d2f4df27 100644 --- a/web/src/locales/fr_FR.po +++ b/web/src/locales/fr_FR.po @@ -1538,6 +1538,7 @@ msgstr "URL Docker" #: src/pages/tenants/TenantForm.ts #: src/pages/tenants/TenantListPage.ts +#: src/pages/tenants/TenantListPage.ts msgid "Domain" msgstr "Domaine" diff --git a/web/src/locales/pseudo-LOCALE.po b/web/src/locales/pseudo-LOCALE.po index fea023855..d3904a531 100644 --- a/web/src/locales/pseudo-LOCALE.po +++ b/web/src/locales/pseudo-LOCALE.po @@ -1541,6 +1541,7 @@ msgstr "" #: src/pages/tenants/TenantForm.ts #: src/pages/tenants/TenantListPage.ts +#: src/pages/tenants/TenantListPage.ts msgid "Domain" msgstr "" diff --git a/web/src/locales/tr.po b/web/src/locales/tr.po index 0fc2cb55f..9b933d86e 100644 --- a/web/src/locales/tr.po +++ b/web/src/locales/tr.po @@ -1521,6 +1521,7 @@ msgstr "Docker URL'si" #: src/pages/tenants/TenantForm.ts #: src/pages/tenants/TenantListPage.ts +#: src/pages/tenants/TenantListPage.ts msgid "Domain" msgstr "Alan Adı" diff --git a/web/src/pages/tenants/TenantListPage.ts b/web/src/pages/tenants/TenantListPage.ts index 02dbbb690..6bc9e6705 100644 --- a/web/src/pages/tenants/TenantListPage.ts +++ b/web/src/pages/tenants/TenantListPage.ts @@ -58,6 +58,9 @@ export class TenantListPage extends TablePage { return html` { + return [{ key: t`Domain`, value: item.domain }]; + }} .usedBy=${(item: Tenant) => { return new CoreApi(DEFAULT_CONFIG).coreTenantsUsedByList({ tenantUuid: item.tenantUuid, @@ -78,7 +81,7 @@ export class TenantListPage extends TablePage { row(item: Tenant): TemplateResult[] { return [ html`${item.domain}`, - html` + html` ${item._default ? t`Yes` : t`No`} `, html`