File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
vscode/react/src/components/graph Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ function ModelColumn({
402402 refetch : getColumnLineage ,
403403 isFetching,
404404 isError,
405- } = useApiColumnLineage ( nodeId , column . name )
405+ } = useApiColumnLineage ( nodeId , column . name , { models_only : true } )
406406
407407 useEffect ( ( ) => {
408408 if ( isNil ( selectManually ) ) return
Original file line number Diff line number Diff line change @@ -53,9 +53,6 @@ export default function ModelNode({
5353 const modelsArray = Object . values ( models )
5454 const decodedId = decodeURIComponent ( id )
5555 const model = modelsArray . find ( ( m : Model ) => m . fqn === decodedId )
56- if ( ! model ) {
57- throw new Error ( `Model not found: ${ id } ` )
58- }
5956 const modelColumns = model ?. columns ?? [ ]
6057
6158 Object . keys ( lineage [ decodedId ] ?. columns ?? { } ) . forEach ( ( column : string ) => {
You can’t perform that action at this time.
0 commit comments