Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions static/app/views/performance/breadcrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ export function getCrumbs(props: Props) {
const crumbs: Crumb[] = [];
const {organization, location, transaction, spanSlug, eventSlug, traceSlug} = props;

crumbs.push({
label: DOMAIN_VIEW_BASE_TITLE,
});
if (!organization.features.includes('insights-to-dashboards-ui-rollout')) {
crumbs.push({
label: DOMAIN_VIEW_BASE_TITLE,
});
}

crumbs.push(
...getTabCrumbs({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,12 @@ function getPerformanceBreadCrumbs(
),
});
} else {
crumbs.push({
label: DOMAIN_VIEW_BASE_TITLE,
to: undefined,
});
if (!organization.features.includes('insights-to-dashboards-ui-rollout')) {
crumbs.push({
label: DOMAIN_VIEW_BASE_TITLE,
to: undefined,
});
}
Comment thread
cursor[bot] marked this conversation as resolved.
}

switch (location.query.tab) {
Comment thread
gggritso marked this conversation as resolved.
Expand Down Expand Up @@ -251,9 +253,11 @@ function getInsightsModuleBreadcrumbs(
),
});
} else {
crumbs.push({
label: t('Insights'),
});
if (!organization.features.includes('insights-to-dashboards-ui-rollout')) {
crumbs.push({
label: DOMAIN_VIEW_BASE_TITLE,
});
}
}

let moduleName: RoutableModuleNames | undefined = undefined;
Expand Down
Loading