From f56e1e546a05645101b5ca5c628cf6a113eef1ed Mon Sep 17 00:00:00 2001 From: Sachin Chaurasiya Date: Mon, 13 Dec 2021 18:29:13 +0530 Subject: [PATCH] Fix : Adding fix to get my data and following data on landing page. (#1719) --- .../src/main/resources/ui/src/constants/Mydata.constants.ts | 2 +- .../ui/src/pages/MyDataPage/MyDataPage.component.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/constants/Mydata.constants.ts b/openmetadata-ui/src/main/resources/ui/src/constants/Mydata.constants.ts index a100a6df9e6..0a3835bfe41 100644 --- a/openmetadata-ui/src/main/resources/ui/src/constants/Mydata.constants.ts +++ b/openmetadata-ui/src/main/resources/ui/src/constants/Mydata.constants.ts @@ -54,5 +54,5 @@ export const getFilters = ( export const filterList = [ { name: 'All Activity', value: 'all' }, { name: 'My Data', value: 'owner' }, - { name: 'Following Data', value: 'followers' }, + { name: 'Following', value: 'followers' }, ]; diff --git a/openmetadata-ui/src/main/resources/ui/src/pages/MyDataPage/MyDataPage.component.tsx b/openmetadata-ui/src/main/resources/ui/src/pages/MyDataPage/MyDataPage.component.tsx index 8cc78b55677..e90123b5100 100644 --- a/openmetadata-ui/src/main/resources/ui/src/pages/MyDataPage/MyDataPage.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/pages/MyDataPage/MyDataPage.component.tsx @@ -99,7 +99,7 @@ const MyDataPage = () => { 1, 5, getMyDataFilters(Ownership.OWNER, AppState.userDetails), - 'last_updated_timestamp', + '', '', myDataSearchIndex ); @@ -109,7 +109,7 @@ const MyDataPage = () => { 1, 5, getMyDataFilters(Ownership.FOLLOWERS, AppState.userDetails), - 'last_updated_timestamp', + '', '', myDataSearchIndex );