From 0b0b5b5cbda9583135db210d692f8513eabb6b77 Mon Sep 17 00:00:00 2001 From: baurine <2008.hbl@gmail.com> Date: Fri, 11 Aug 2023 16:49:03 +0800 Subject: [PATCH] refine: make table format as default to show execution plan --- .../src/apps/SlowQuery/pages/Detail/index.tsx | 22 ++++++++-------- .../Statement/pages/Detail/PlanDetail.tsx | 26 +++++++++---------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/pages/Detail/index.tsx b/ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/pages/Detail/index.tsx index 30db33f106..4e35121751 100644 --- a/ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/pages/Detail/index.tsx +++ b/ui/packages/tidb-dashboard-lib/src/apps/SlowQuery/pages/Detail/index.tsx @@ -179,11 +179,21 @@ function DetailPage() { {t('slow_query.detail.plan.title')} telemetry.clickPlanTabs(key, data.digest!) } > + {binaryPlanObj && !binaryPlanObj.discardedDueToTooLong && ( + + +
+ + )} + - {binaryPlanObj && !binaryPlanObj.discardedDueToTooLong && ( - - -
- - )} - {binaryPlanObj && !binaryPlanObj.discardedDueToTooLong && ( telemetry.clickPlanTabs(key, data.digest!) } > + {binaryPlanObj && !binaryPlanObj.discardedDueToTooLong && ( + + +
+ + )} + - {binaryPlanObj && !binaryPlanObj.discardedDueToTooLong && ( - - -
- - )} - {binaryPlanObj && !binaryPlanObj.main.discardedDueToTooLong && (