bugfix: dont put 'IsNew' into index

This commit is contained in:
Michael Shanks 2020-03-25 11:18:13 +00:00
parent 6cbf2ce02b
commit ace301c9fc
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ export const mapRecord = (record, index) => {
if (isFunction(mapped[key])) { if (isFunction(mapped[key])) {
delete mapped[key] delete mapped[key]
} }
if (key === "IsNew") {
delete mapped.IsNew
}
} }
mapped.key = record.key mapped.key = record.key