diff --git a/superset-frontend/src/profile/components/CreatedContent.tsx b/superset-frontend/src/profile/components/CreatedContent.tsx index 41f21d6edbff..b097dee5e144 100644 --- a/superset-frontend/src/profile/components/CreatedContent.tsx +++ b/superset-frontend/src/profile/components/CreatedContent.tsx @@ -33,14 +33,14 @@ class CreatedContent extends React.PureComponent { const mutator = (data: Slice[]) => data.map(slice => ({ slice: {slice.title}, - favorited: moment.utc(slice.dttm).fromNow(), - _favorited: slice.dttm, + created: moment.utc(slice.dttm).fromNow(), + _created: slice.dttm, })); return ( { const mutator = (data: Dashboard[]) => data.map(dash => ({ dashboard: {dash.title}, - favorited: moment.utc(dash.dttm).fromNow(), - _favorited: dash.dttm, + created: moment.utc(dash.dttm).fromNow(), + _created: dash.dttm, })); return ( { mutator={mutator} dataEndpoint={`/superset/created_dashboards/${this.props.user.userId}/`} noDataText={t('No dashboards')} - columns={['dashboard', 'favorited']} + columns={['dashboard', 'created']} sortable /> );