Skip to content

Commit

Permalink
Changed badges
Browse files Browse the repository at this point in the history
  • Loading branch information
c298lee committed Aug 15, 2023
1 parent 8ca680a commit ebb58d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
12 changes: 4 additions & 8 deletions static/app/components/replays/header/detailsPageBreadcrumbs.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Fragment} from 'react';

import Breadcrumbs from 'sentry/components/breadcrumbs';
import BaseBadge from 'sentry/components/idBadge/baseBadge';
import ProjectBadge from 'sentry/components/idBadge/projectBadge';
import HeaderPlaceholder from 'sentry/components/replays/header/headerPlaceholder';
import {t} from 'sentry/locale';
import EventView from 'sentry/utils/discover/eventView';
Expand Down Expand Up @@ -42,13 +42,9 @@ function DetailsPageBreadcrumbs({orgSlug, replayRecord}: Props) {
{
label: (
<Fragment>
{
<BaseBadge
displayName={project?.slug}
project={project}
avatarSize={16}
/>
}
{project ? (
<ProjectBadge disableLink project={project} avatarSize={16} />
) : null}
</Fragment>
),
},
Expand Down
1 change: 1 addition & 0 deletions static/app/views/replays/replayTable/tableCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ export function ReplayCell({
{showUrl ? <StringWalker urls={replay.urls} /> : undefined}
<Row gap={1}>
<Row gap={0.5}>
{/* Avatar is used instead of ProjectBadge because using ProjectBadge increases spacing, which doesn't look as good */}
{project ? <Avatar size={12} project={project} /> : null}
{project ? project.slug : null}
<Link to={detailsTab} onClick={trackNavigationEvent}>
Expand Down

0 comments on commit ebb58d7

Please sign in to comment.