Merge branch 'main' into next

This commit is contained in:
nocobase[bot] 2024-10-18 09:50:00 +00:00
commit 2ccfaf4f76

View File

@ -26,6 +26,7 @@ import {
useCollectionManager_deprecated, useCollectionManager_deprecated,
useDesignable, useDesignable,
useFormBlockContext, useFormBlockContext,
useColumnSchema,
} from '@nocobase/client'; } from '@nocobase/client';
import _ from 'lodash'; import _ from 'lodash';
import { useMapTranslation } from '../locale'; import { useMapTranslation } from '../locale';
@ -71,6 +72,10 @@ export const defaultZoomLevel = {
}, },
}; };
}, },
useVisible() {
const { fieldSchema: tableColumnSchema } = useColumnSchema();
return !tableColumnSchema;
},
}; };
export const mapBlockSettings = new SchemaSettings({ export const mapBlockSettings = new SchemaSettings({