From a9e1d85a6f4cc3386aed5268dddd88abdb209f24 Mon Sep 17 00:00:00 2001 From: Ryan Liang Date: Thu, 14 Mar 2024 14:15:50 -0700 Subject: [PATCH] Add refresh field to flyout Signed-off-by: Ryan Liang --- .../acceleration_details_tab.tsx | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/public/components/datasources/components/manage/accelerations/flyout_modules/acceleration_details_tab.tsx b/public/components/datasources/components/manage/accelerations/flyout_modules/acceleration_details_tab.tsx index e6a6a26f06..b88a68c4f1 100644 --- a/public/components/datasources/components/manage/accelerations/flyout_modules/acceleration_details_tab.tsx +++ b/public/components/datasources/components/manage/accelerations/flyout_modules/acceleration_details_tab.tsx @@ -51,6 +51,8 @@ export const AccelerationDetailsTab = ({ const creationDate = new Date( parseInt(settings?.settings?.index?.creation_date, 10) ).toLocaleString(); + const checkpointName = + mappings?.data?.[acceleration.flintIndexName]?.mappings?._meta?.options?.checkpoint_location; console.log('mappings:', mappings); console.log('indexInfo:', indexInfo); @@ -96,15 +98,7 @@ export const AccelerationDetailsTab = ({ /> - {isSkippingIndex && ( - <> - - - - - - - )} + } /> - - )} + + + + + + {checkpointName && ( + + )} + ); };