mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-02 21:54:07 +00:00
fix(ui/schema): error handling add (#9952)
This commit is contained in:
parent
1736edf8f5
commit
3b735556fa
@ -78,7 +78,7 @@ export const SchemaTab = ({ properties }: { properties?: any }) => {
|
||||
|
||||
const hasProperties = useMemo(
|
||||
() =>
|
||||
entityWithSchema?.schemaMetadata?.fields.some(
|
||||
entityWithSchema?.schemaMetadata?.fields?.some(
|
||||
(schemaField) => !!schemaField.schemaFieldEntity?.structuredProperties?.properties?.length,
|
||||
),
|
||||
[entityWithSchema],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user