mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-07 21:16:45 +00:00
Fix: no data placeholder (#1889)
This commit is contained in:
parent
be06a77fdc
commit
ce88b18654
@ -29,7 +29,7 @@ type Props = {
|
||||
const SampleDataTable: FunctionComponent<Props> = ({ sampleData }: Props) => {
|
||||
return (
|
||||
<div className="tw-table-responsive">
|
||||
{sampleData?.rows && sampleData?.columns ? (
|
||||
{sampleData?.rows?.length && sampleData?.columns?.length ? (
|
||||
<table
|
||||
className="tw-min-w-max tw-w-full tw-table-auto"
|
||||
data-testid="sample-data-table">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user