Skip to content

Commit

Permalink
files widget generator
Browse files Browse the repository at this point in the history
  • Loading branch information
jegorenkov committed Jul 27, 2022
1 parent 266f2ae commit e08ad94
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions templates/layout/main/InitComponent.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import { NaeWidgets } from '../../config/widgets/index';
import { NaeSPropertiesKeys } from "../../config/NaeSPropertiesKeys";
import { getHookForSchema, getSelectorForSchema } from "../../UserComponents/ModelsCacheData/ModelFields";
import { IUIBuilderTabItem } from "@newageerp/nae-react-ui/dist/UIBuilderPages/UIBuilderTabsPage";
import { onEditElementUpdate } from "../../config/fields/onEditElementUpdate";

// import {
// NaeSSchemaFilterKeys,
// NaeSSchemaGroupKeys,
Expand All @@ -31,12 +33,6 @@ export default function InitComponent(props: Props) {

const history = useHistory();


const onEditElementUpdate = (schema: string, key: string, val: any, element: any) => {

return element;
}

return (
<UI.Config.UIInitConfig
getHookForSchema={getHookForSchema}
Expand Down

0 comments on commit e08ad94

Please sign in to comment.