Skip to content

Commit dfe1c40

Browse files
Fixing table width + comments
1 parent ea02736 commit dfe1c40

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/components/ControlPlane/MCPHealthPopoverButton.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ export default function MCPHealthPopoverButton({
124124
Header: t('MCPHealthPopoverButton.reasonHeader'),
125125
accessor: 'reason',
126126
width: 100,
127-
headerTooltip: 'sgs',
128127
// eslint-disable-next-line @typescript-eslint/no-explicit-any
129128
Cell: (instance: any) => {
130129
return <TooltipCell>{instance.cell.value}</TooltipCell>;
@@ -180,7 +179,7 @@ function StatusTable({
180179
const { t } = useTranslation();
181180

182181
return (
183-
<div style={{ width: 760 }}>
182+
<div style={{ width: 770 }}>
184183
<AnalyticalTable
185184
scaleWidthMode="Default"
186185
columns={tableColumns}

src/components/Shared/TooltipCell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const TooltipCell: React.FC<TooltipCellProps> = ({ children, title }) => {
99
const resolvedTitle =
1010
typeof children === 'string' || typeof children === 'number'
1111
? String(children)
12-
: title;
12+
: (title ?? '');
1313

1414
return (
1515
<div

0 commit comments

Comments
 (0)