Skip to content

Commit

Permalink
fix: disable hover events causing rerender on ingestion source table …
Browse files Browse the repository at this point in the history
…rows
  • Loading branch information
stanbaker committed Oct 28, 2022
1 parent 6c0f236 commit 9c46886
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions datahub-web-react/src/app/ingest/source/IngestionSourceTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ import { IngestionSource } from '../../../types.generated';
import { IngestionSourceExecutionList } from './executions/IngestionSourceExecutionList';

const StyledSourceTable = styled(StyledTable)`
tr {
pointer-events: none;
button {
pointer-events: all;
}
}
.cliIngestion {
td {
background-color: ${ANTD_GRAY[2]} !important;
Expand Down Expand Up @@ -43,6 +51,7 @@ function IngestionSourceTable({
onDelete,
onRefresh,
}: Props) {
/* eslint-disable */
const tableColumns = [
{
title: 'Type',
Expand Down Expand Up @@ -151,6 +160,7 @@ function IngestionSourceTable({
defaultExpandAllRows: false,
indentSize: 0,
}}
onRow={() => ({ onMouseEnter: (e) => e.stopPropagation() })}
pagination={false}
/>
);
Expand Down

0 comments on commit 9c46886

Please sign in to comment.