mirror of
https://github.com/zhigang1992/firecms.git
synced 2026-06-14 09:38:59 +08:00
Small builders.ts types fix
This commit is contained in:
@@ -52,16 +52,13 @@ export const testEntitySchema = buildSchema({
|
||||
status,
|
||||
context
|
||||
}) => {
|
||||
console.log("custom onPreSave", collectionPath, id);
|
||||
|
||||
getNavigationFrom({
|
||||
return getNavigationFrom({
|
||||
path: `${collectionPath}/${id}`,
|
||||
context
|
||||
}).then((result) => console.log("getNavigationFrom", result));
|
||||
|
||||
if (!values.empty_string) values.empty_string = "";
|
||||
|
||||
return values;
|
||||
}).then((navigation) => {
|
||||
console.log("navigation", navigation);
|
||||
return values;
|
||||
});
|
||||
},
|
||||
properties: {
|
||||
actions: {
|
||||
|
||||
Reference in New Issue
Block a user