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 { useCollection_deprecated } from '../../../../collection-manager/hooks/useCollection_deprecated';
|
||||
|
||||
const useVisibleCollection = () => {
|
||||
const collection = useCollection_deprecated();
|
||||
@ -76,7 +76,7 @@ export const readPrettyFormActionInitializers_deprecated = new CompatibleSchemaI
|
||||
'x-component': 'Action',
|
||||
};
|
||||
},
|
||||
visible: useVisibleCollection,
|
||||
useVisible: useVisibleCollection,
|
||||
},
|
||||
{
|
||||
name: 'customRequest',
|
||||
@ -156,7 +156,7 @@ export const readPrettyFormActionInitializers = new CompatibleSchemaInitializer(
|
||||
'x-component': 'Action',
|
||||
};
|
||||
},
|
||||
visible: useVisibleCollection,
|
||||
useVisible: useVisibleCollection,
|
||||
},
|
||||
{
|
||||
name: 'customRequest',
|
||||
|
Loading…
Reference in New Issue
Block a user