Skip to content

Commit

Permalink
cosmetic change
Browse files Browse the repository at this point in the history
  • Loading branch information
fiskus committed Sep 26, 2024
1 parent 52e1d47 commit f9c4bd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion catalog/app/containers/Admin/Buckets/Tabulator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,9 @@ export default function Tabulator({ bucket, tabulatorTables }: TabulatorProps) {
const classes = useStyles()
loadMode('yaml')
const [toAdd, setToAdd] = React.useState(false)

Check warning on line 419 in catalog/app/containers/Admin/Buckets/Tabulator.tsx

View check run for this annotation

Codecov / codecov/patch/informational

catalog/app/containers/Admin/Buckets/Tabulator.tsx#L416-L419

Added lines #L416 - L419 were not covered by tests
if (!tabulatorTables.length && !toAdd)
if (!tabulatorTables.length && !toAdd) {
return <Empty className={classes.empty} onClick={() => setToAdd(true)} />

Check warning on line 421 in catalog/app/containers/Admin/Buckets/Tabulator.tsx

View check run for this annotation

Codecov / codecov/patch/informational

catalog/app/containers/Admin/Buckets/Tabulator.tsx#L421

Added line #L421 was not covered by tests
}
return (

Check warning on line 423 in catalog/app/containers/Admin/Buckets/Tabulator.tsx

View check run for this annotation

Codecov / codecov/patch/informational

catalog/app/containers/Admin/Buckets/Tabulator.tsx#L423

Added line #L423 was not covered by tests
<>
{tabulatorTables.map((tabulatorTable) => (

Check warning on line 425 in catalog/app/containers/Admin/Buckets/Tabulator.tsx

View check run for this annotation

Codecov / codecov/patch/informational

catalog/app/containers/Admin/Buckets/Tabulator.tsx#L425

Added line #L425 was not covered by tests
Expand Down

0 comments on commit f9c4bd3

Please sign in to comment.