Skip to content

Commit 9c30f16

Browse files
authored
feat(releases): Increase "New Issues" colum width in drawer (#87580)
Increases the width so that the column title does not overflow.
1 parent 48d7d10 commit 9c30f16

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

static/app/views/releases/drawer/releasesDrawerTable.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ export function ReleaseDrawerTable({start, onSelectRelease, end}: Props) {
135135
}
136136

137137
if (column.key === 'error_count') {
138-
return (
138+
const value = dataRow[column.key];
139+
return value > 0 ? (
139140
<Tooltip title={t('Open in Issues')} position="auto-start">
140141
<GlobalSelectionLink
141142
to={getReleaseNewIssuesUrl(
@@ -144,9 +145,11 @@ export function ReleaseDrawerTable({start, onSelectRelease, end}: Props) {
144145
dataRow.release
145146
)}
146147
>
147-
<Count value={dataRow[column.key]} />
148+
<Count value={value} />
148149
</GlobalSelectionLink>
149150
</Tooltip>
151+
) : (
152+
<Count value={value} />
150153
);
151154
}
152155
if (!meta?.fields) {

0 commit comments

Comments
 (0)