diff --git a/packages/builder/src/components/nav/ModelSetupNav/ModelFieldEditor.svelte b/packages/builder/src/components/nav/ModelSetupNav/ModelFieldEditor.svelte index 37e8e8ce7a..e5e7528333 100644 --- a/packages/builder/src/components/nav/ModelSetupNav/ModelFieldEditor.svelte +++ b/packages/builder/src/components/nav/ModelSetupNav/ModelFieldEditor.svelte @@ -22,18 +22,6 @@ field.constraints && field.constraints.presence && !constraints.presence.allowEmpty - - // function attachModelIdToSchema(evt) { - // const { draftModel } = $backendUiStore - // if ($backendUiStore.selectedField !== evt.target.value) { - // delete draftModel.schema[$backendUiStore.selectedField] - // draftModel.schema[evt.target.value] = field - // backendUiStore.update(state => { - // state.selectedField = evt.target.value - // return state - // }) - // } - // }