Skip to content

Commit b7ef04f

Browse files
authored
fix(insights): asset module shows "we couldn't find any size info" before finishing loading (#97613)
Fixes a bug where the asset summary page would show "we couldn't find any size information" before the page finishes loading (see screenshot for before behaviour) <img width="1302" height="556" alt="image" src="https://github.com/user-attachments/assets/0fc749d1-ac98-478e-864b-714990537743" />
1 parent ad74c52 commit b7ef04f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/views/insights/browser/resources/components/resourceInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function ResourceInfo(props: Props) {
113113
/>
114114
</ReadoutRibbon>
115115

116-
{hasNoData && (
116+
{!isLoading && hasNoData && (
117117
<Alert.Container>
118118
<Alert style={{width: '100%'}} type="warning">
119119
{t(

0 commit comments

Comments
 (0)