mirror of
https://github.com/apache/superset.git
synced 2026-04-25 02:55:07 +00:00
chore: update UI dev libs and fix warnings & vulnerabilities (#24648)
This commit is contained in:
@@ -223,10 +223,14 @@ const TableElement = ({ table, ...props }: TableElementProps) => {
|
||||
</small>
|
||||
</div>
|
||||
));
|
||||
if (!metadata?.length) {
|
||||
// hide metadata card view
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
if (!partitions && (!metadata || !metadata.length)) {
|
||||
// hide partition and metadata card view
|
||||
if (!partitions) {
|
||||
// hide partition card view
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user