From 94cd991462ba58d114d9f7e7e14c70287a3bb8f8 Mon Sep 17 00:00:00 2001 From: Shailesh Parmar Date: Mon, 17 Jan 2022 12:42:36 +0530 Subject: [PATCH] Fix: issue-2151 Clicking links in column description open the edit panel and then navigates to the link (#2237) --- .../DashboardDetails.component.tsx | 53 +++++++-------- .../EntityTable/EntityTable.component.tsx | 64 +++++++++---------- .../PipelineDetails.component.tsx | 9 +-- .../resources/ui/src/pages/tags/index.tsx | 48 +++++++------- 4 files changed, 89 insertions(+), 85 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/DashboardDetails/DashboardDetails.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/DashboardDetails/DashboardDetails.component.tsx index fa93f105c3f..68ca8cd1c94 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/DashboardDetails/DashboardDetails.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/DashboardDetails/DashboardDetails.component.tsx @@ -398,29 +398,32 @@ const DashboardDetails = ({ {chart.chartType} - -
-
- handleUpdateChart(chart, index) - }> -
- {chart.description ? ( - - ) : ( - - No description added - - )} -
- -
+
-
+ - -
-
{ - if (!isReadOnly) { - handleEditColumn(row.original, row.id); - } - }}> -
- {cell.value ? ( - - ) : ( - - No description added - +
+
+
+ {cell.value ? ( + + ) : ( + + No description added + + )} +
+ {!isReadOnly ? ( + - {!isReadOnly ? ( - - ) : null} -
+ + ) : null}
- +
{checkIfJoinsAvailable(row.original.name) && (
handleUpdateTask(task, index)}> + className="tw-cursor-pointer tw-flex" + data-testid="description">
{task.description ? ( )}
- -
- + +
Usage: