diff --git a/src/app/components/chart-block/index.tsx b/src/app/components/chart-block/index.tsx index 88c807191..cb4c5414a 100644 --- a/src/app/components/chart-block/index.tsx +++ b/src/app/components/chart-block/index.tsx @@ -166,14 +166,13 @@ export const ChartBlock: React.FC = ( marginTop="40px" alignItems="center" position="relative" - // justifyContent={props.latestUpdate ? "space-between" : "flex-end"} - justifyContent="flex-end" + justifyContent={props.latestUpdate ? "space-between" : "flex-end"} > - {/* {props.latestUpdate && ( + {props.latestUpdate && ( Latest Update: {props.latestUpdate} - )} */} + )} {!props.noBottomToolbar && ( = ( ))} - {/* + Latest Update: {latestUpdateDate} - */} + ); diff --git a/src/app/pages/datasets/access-to-funding/blocks/block-4/index.tsx b/src/app/pages/datasets/access-to-funding/blocks/block-4/index.tsx index ee0a5cc79..3492ad77c 100644 --- a/src/app/pages/datasets/access-to-funding/blocks/block-4/index.tsx +++ b/src/app/pages/datasets/access-to-funding/blocks/block-4/index.tsx @@ -128,9 +128,9 @@ export const AccessToFundingBlock4: React.FC = ( )} - {/* + Latest Update: {latestUpdateDate} - */} + ); }; diff --git a/src/app/pages/datasets/common/chart-block/index.tsx b/src/app/pages/datasets/common/chart-block/index.tsx index efe392b0b..be19695d8 100644 --- a/src/app/pages/datasets/common/chart-block/index.tsx +++ b/src/app/pages/datasets/common/chart-block/index.tsx @@ -232,14 +232,13 @@ export const DatasetChartBlock: React.FC = ( marginTop="40px" alignItems="center" position="relative" - // justifyContent={props.latestUpdate ? "space-between" : "flex-end"} - justifyContent="flex-end" + justifyContent={props.latestUpdate ? "space-between" : "flex-end"} > - {/* {props.latestUpdate && ( + {props.latestUpdate && ( Latest Update: {props.latestUpdate} - )} */} + )} - {/* + Latest Update: {latestUpdateDate} - */} + ); }; diff --git a/src/app/pages/datasets/grant-implementation/blocks/block-4/index.tsx b/src/app/pages/datasets/grant-implementation/blocks/block-4/index.tsx index 5b2711dba..38190b48b 100644 --- a/src/app/pages/datasets/grant-implementation/blocks/block-4/index.tsx +++ b/src/app/pages/datasets/grant-implementation/blocks/block-4/index.tsx @@ -167,11 +167,11 @@ export const GrantImplementationPageBlock4: React.FC< ))} - {/* + Latest Update: {latestUpdateDate} - */} + {loadingBudgetBreakdown && ( { - {/* + Latest Update: {latestUpdateDate} - */} + { ))} - {/* + Latest Update: {latestUpdateDate} - */} + ); }; diff --git a/src/app/pages/grants/layout.tsx b/src/app/pages/grants/layout.tsx index 7db037565..f0baf52a1 100644 --- a/src/app/pages/grants/layout.tsx +++ b/src/app/pages/grants/layout.tsx @@ -252,11 +252,11 @@ export const GrantsLayout: React.FC = ( {viewResult} {pagination} - {/* + Latest Update: {props.latestUpdateDate} - */} + ); };