Skip to content

Commit d50fca6

Browse files
salazarmalangenfeld
authored andcommitted
[Asset graph] Fix query error notice (#27273)
## Summary & Motivation This is due to the full asset graph data not being available. Not really sure why the fetchResult.loading is false when the data is not available yet... but for now fixing it this way until I can investigate deeper.
1 parent a814d71 commit d50fca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js_modules/dagster-ui/packages/ui-core/src/asset-graph/useAssetGraphData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export function useFullAssetGraphData(options: AssetGraphFetchScope) {
9494
});
9595
}, [options.loading, queryItems]);
9696

97-
return {fullAssetGraphData, loading: fetchResult.loading || options.loading};
97+
return {fullAssetGraphData, loading: !fetchResult.data || fetchResult.loading || options.loading};
9898
}
9999

100100
export type GraphDataState = {

0 commit comments

Comments
 (0)