Skip to content

Commit

Permalink
fix prettier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
slax57 authored and Quentin Decré committed Nov 13, 2024
1 parent feaab16 commit 41c4d36
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ export const DatagridConfigurable = ({
child.props.label && typeof child.props.label === 'string' // this list is serializable, so we can't store ReactElement in it
? child.props.label
: child.props.source
? // force the label to be the source
undefined
: // no source or label, generate a label
translate('ra.configurable.Datagrid.unlabeled', {
column: index,
_: `Unlabeled column #%{column}`,
}),
? // force the label to be the source
undefined
: // no source or label, generate a label
translate('ra.configurable.Datagrid.unlabeled', {
column: index,
_: `Unlabeled column #%{column}`,
}),
}));
const hasChanged = newAvailableColumns.some(column => {
const availableColumn = availableColumns.find(
Expand Down

0 comments on commit 41c4d36

Please sign in to comment.