From 7234277e6bb24075cfe22db24af188e8661e565e Mon Sep 17 00:00:00 2001 From: Birk Johansson Date: Tue, 24 Oct 2023 18:27:19 +0300 Subject: [PATCH] fix(list): add formanem to column list --- src/lib/constants/sectionListViewsConfig.ts | 2 +- src/lib/constants/translatedModelProperties.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/constants/sectionListViewsConfig.ts b/src/lib/constants/sectionListViewsConfig.ts index 91a8f204..46973f64 100644 --- a/src/lib/constants/sectionListViewsConfig.ts +++ b/src/lib/constants/sectionListViewsConfig.ts @@ -69,7 +69,7 @@ const defaultModelViewConfig = { const modelListViewsConfig = { dataElement: { columns: { - available: ['zeroIsSignificant', 'categoryCombo'], + available: ['zeroIsSignificant', 'categoryCombo', 'formName'], default: [ 'name', { label: i18n.t('Domain'), path: 'domainType' }, diff --git a/src/lib/constants/translatedModelProperties.ts b/src/lib/constants/translatedModelProperties.ts index 5ef6c0bf..25f3518a 100644 --- a/src/lib/constants/translatedModelProperties.ts +++ b/src/lib/constants/translatedModelProperties.ts @@ -7,6 +7,7 @@ const TRANSLATED_PROPERTY: Record = { favorite: i18n.t('Favorite'), href: i18n.t('API URL'), id: i18n.t('Id'), + formName: i18n.t('Form name'), lastUpdatedBy: i18n.t('Last updated by'), created: i18n.t('Created'), domainType: i18n.t('Domain type'),