Skip to content

Commit

Permalink
Quote selection to avoid grabbing downstreams with the same name pref…
Browse files Browse the repository at this point in the history
…ix when viewing upstream graph, fix react table unhappy log (#6907)
  • Loading branch information
souterjk committed Mar 7, 2022
1 parent 63f6048 commit 07f2386
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const MetadataEntriesRow: React.FC<{
}> = React.memo(({group, hasLineage}) => {
const {latest, timestamp} = group;
if (!latest) {
return <span />;
return <tr></tr>;
}
const assetLineage = latest.__typename === 'MaterializationEvent' ? latest.assetLineage : [];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ const JobGraphLink: React.FC<{
return (
<Link
to={instanceAssetsExplorerPathToURL({
opNames: [token],
opsQuery: direction === 'upstream' ? `*${token}` : `${token}*`,
opNames: [],
opsQuery: direction === 'upstream' ? `*"${token}"` : `"${token}"*`,
})}
>
<Box flex={{gap: 4, alignItems: 'center'}}>
Expand Down

0 comments on commit 07f2386

Please sign in to comment.