File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
openmetadata-ui/src/main/resources/ui/src
components/Entity/EntityLineage Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,7 @@ export const getColumnContent = (
236236 data-testid = { `column-${ fullyQualifiedName } ` }
237237 key = { fullyQualifiedName }
238238 onClick = { handleClick }
239+ onMouseDown = { handleClick }
239240 onMouseEnter = { handleMouseEnter }
240241 onMouseLeave = { handleMouseLeave } >
241242 { getColumnHandle (
Original file line number Diff line number Diff line change @@ -1271,6 +1271,18 @@ const LineageProvider = ({ children }: LineageProviderProps) => {
12711271 . finally ( ( ) => {
12721272 setStatus ( 'initial' ) ;
12731273 setLoading ( false ) ;
1274+ if ( ! tracedColumns . includes ( params . sourceHandle as string ) ) {
1275+ setTracedColumns ( ( prev ) => [
1276+ ...prev ,
1277+ params . sourceHandle as string ,
1278+ ] ) ;
1279+ }
1280+ if ( ! tracedColumns . includes ( params . targetHandle as string ) ) {
1281+ setTracedColumns ( ( prev ) => [
1282+ ...prev ,
1283+ params . targetHandle as string ,
1284+ ] ) ;
1285+ }
12741286 } ) ;
12751287 }
12761288 } ,
You can’t perform that action at this time.
0 commit comments