From 9d01f0d15be9e45bee517bbb4b4b1ad413f08c16 Mon Sep 17 00:00:00 2001 From: Sravan Reddy Date: Mon, 18 Jul 2022 14:54:16 +0530 Subject: [PATCH] Use description column as name from CommCare HQ --- .../src/components/Datasource/ChangeDatasourceModal.tsx | 4 ++++ superset-frontend/src/pages/DatasetList/index.tsx | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/superset-frontend/src/components/Datasource/ChangeDatasourceModal.tsx b/superset-frontend/src/components/Datasource/ChangeDatasourceModal.tsx index 5e837f0a26846..abdc8a10d49e0 100644 --- a/superset-frontend/src/components/Datasource/ChangeDatasourceModal.tsx +++ b/superset-frontend/src/components/Datasource/ChangeDatasourceModal.tsx @@ -214,6 +214,10 @@ const ChangeDatasourceModal: FunctionComponent = ({ Header: t('Name'), accessor: 'table_name', }, + { + Header: t('Name in CommCare HQ'), + accessor: 'description', + }, { Header: t('Type'), accessor: 'kind', diff --git a/superset-frontend/src/pages/DatasetList/index.tsx b/superset-frontend/src/pages/DatasetList/index.tsx index 76d96757c08ed..6d13580e537f6 100644 --- a/superset-frontend/src/pages/DatasetList/index.tsx +++ b/superset-frontend/src/pages/DatasetList/index.tsx @@ -359,6 +359,11 @@ const DatasetList: FunctionComponent = ({ Header: t('Name'), accessor: 'table_name', }, + { + Header: t('Name in CommCare HQ'), + accessor: 'description', + size: 'lg', + }, { Cell: ({ row: {