Skip to content

Commit ec59def

Browse files
authored
feat(nav): Use default project icon instead of "all projects" icon if platform not found (#87230)
Updates the project icons for starred projects in the left nav to use the default project icon rather than the all projects icon if the platform isn't found: ![image](https://github.com/user-attachments/assets/863447ce-d2c7-41f0-b142-f98e311c26e9)
1 parent 7cb6763 commit ec59def

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/views/insights/navigation.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function InsightsSecondaryNav({children}: InsightsNavigationProps) {
133133
}
134134
leadingItems={
135135
<StyledProjectIcon
136-
projectPlatforms={project.platform ? [project.platform] : []}
136+
projectPlatforms={project.platform ? [project.platform] : ['default']}
137137
/>
138138
}
139139
>

0 commit comments

Comments
 (0)