We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ccae38 commit aa170d4Copy full SHA for aa170d4
static/app/components/profiling/ProfilingOnboarding/proflingOnboardingSidebar.tsx
@@ -139,12 +139,16 @@ export function ProfilingOnboardingSidebar(props: CommonSidebarProps) {
139
>
140
<CompactSelect
141
triggerLabel={
142
- <StyledIdBadge
143
- project={currentProject}
144
- avatarSize={16}
145
- hideOverflow
146
- disableLink
147
- />
+ currentProject ? (
+ <StyledIdBadge
+ project={currentProject}
+ avatarSize={16}
+ hideOverflow
+ disableLink
148
+ />
149
+ ) : (
150
+ t('Select a project')
151
+ )
152
}
153
onChange={option => setCurrentProject(option.value)}
154
triggerProps={{'aria-label': currentProject?.slug}}
0 commit comments