Prevent editing relationship columns

This commit is contained in:
Andrew Kingston 2020-10-15 11:55:06 +01:00
parent 754ccf0e79
commit 2c611574e3
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@
field: key, field: key,
hide: shouldHideField(key), hide: shouldHideField(key),
sortable: true, sortable: true,
editable: canEdit, editable: canEdit && schema[key].type !== "link",
cellRenderer: getRenderer(schema[key], canEdit), cellRenderer: getRenderer(schema[key], canEdit),
autoHeight: true, autoHeight: true,
} }