Fix grid not allowing adding rows due to model -> table rename

This commit is contained in:
Andrew Kingston 2020-10-14 09:53:27 +01:00
parent 3efac56f5d
commit d2ac13a253
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
// These can never change at runtime so don't need to be reactive
let canEdit = editable && datasource && datasource.type !== "view"
let canAddDelete = editable && datasource && datasource.type === "model"
let canAddDelete = editable && datasource && datasource.type === "table"
let store = _bb.store
let dataLoaded = false