Edit clone of column

This commit is contained in:
Mel O'Hagan 2022-10-12 10:22:54 +01:00
parent c07ba7ed08
commit 8210233f36
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
import CreateEditRow from "./modals/CreateEditRow.svelte"
import CreateEditUser from "./modals/CreateEditUser.svelte"
import CreateEditColumn from "./modals/CreateEditColumn.svelte"
import { cloneDeep } from "lodash/fp"
import {
TableNames,
UNEDITABLE_USER_FIELDS,
@ -110,7 +111,7 @@
}
const editColumn = field => {
editableColumn = schema?.[field]
editableColumn = cloneDeep(schema?.[field])
if (editableColumn) {
editColumnModal.show()
}