Skip to content
Open
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
5 changes: 3 additions & 2 deletions src/components/dialogs/limits/temporary-limits-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,17 @@

function EditableTableCell({ name, column, previousValue, valueModified, ...props }: Readonly<CustomTableCellProps>) {
return (
<TableCell sx={{ padding: 0.5, maxWidth: column.maxWidth }}>
<TableCell sx={{ padding: 0.5, maxWidth: column.maxWidth, verticalAlign: 'top' }}>
{column.type === DndColumnType.NUMERIC ? (
<TableNumericalInput
name={name}
previousValue={previousValue}
valueModified={valueModified}
hideErrorMessage={column.hideErrorMessage}

Check failure on line 53 in src/components/dialogs/limits/temporary-limits-table.tsx

View workflow job for this annotation

GitHub Actions / build / build

Property 'hideErrorMessage' does not exist on type 'ColumnNumeric'.

Check failure on line 53 in src/components/dialogs/limits/temporary-limits-table.tsx

View workflow job for this annotation

GitHub Actions / build / build

Type '{ disabled: boolean; name: string; previousValue: number | undefined; valueModified: boolean; hideErrorMessage: any; }' is not assignable to type 'IntrinsicAttributes & Readonly<TableNumericalInputProps>'.
{...props}
/>
) : (
<TableTextInput name={name} showErrorMsg={column.showErrorMsg} {...props} />
<TableTextInput name={name} hideErrorMessage={column.hideErrorMessage} {...props} />

Check failure on line 57 in src/components/dialogs/limits/temporary-limits-table.tsx

View workflow job for this annotation

GitHub Actions / build / build

Property 'hideErrorMessage' does not exist on type 'ColumnText'.

Check failure on line 57 in src/components/dialogs/limits/temporary-limits-table.tsx

View workflow job for this annotation

GitHub Actions / build / build

Type '{ disabled: boolean; name: string; hideErrorMessage: any; }' is not assignable to type 'IntrinsicAttributes & Readonly<TableTextInputProps>'.
)}
</TableCell>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export default function ColumnNameEditor({ name, rowIndex, generateColumnId }: C
autoFocus: true,
onBlur: onBlurColumnName,
}}
showErrorMsg={true}
/>
);
}
Loading