mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 08:55:33 +00:00
fix(client): visible -> useVisible
This commit is contained in:
parent
4f0907be1b
commit
0d2ed3f8a0
@ -1,5 +1,5 @@
|
|||||||
import { useCollection_deprecated } from '../../../../collection-manager/hooks/useCollection_deprecated';
|
|
||||||
import { CompatibleSchemaInitializer } from '../../../../application/schema-initializer/CompatibleSchemaInitializer';
|
import { CompatibleSchemaInitializer } from '../../../../application/schema-initializer/CompatibleSchemaInitializer';
|
||||||
|
import { useCollection_deprecated } from '../../../../collection-manager/hooks/useCollection_deprecated';
|
||||||
|
|
||||||
const useVisibleCollection = () => {
|
const useVisibleCollection = () => {
|
||||||
const collection = useCollection_deprecated();
|
const collection = useCollection_deprecated();
|
||||||
@ -76,7 +76,7 @@ export const readPrettyFormActionInitializers_deprecated = new CompatibleSchemaI
|
|||||||
'x-component': 'Action',
|
'x-component': 'Action',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
visible: useVisibleCollection,
|
useVisible: useVisibleCollection,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'customRequest',
|
name: 'customRequest',
|
||||||
@ -156,7 +156,7 @@ export const readPrettyFormActionInitializers = new CompatibleSchemaInitializer(
|
|||||||
'x-component': 'Action',
|
'x-component': 'Action',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
visible: useVisibleCollection,
|
useVisible: useVisibleCollection,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'customRequest',
|
name: 'customRequest',
|
||||||
|
Loading…
Reference in New Issue
Block a user