Skip to content
Permalink
Browse files

fix(form): fix saving of table answers

  • Loading branch information...
anehx committed Jul 10, 2019
1 parent 755af94 commit ad88efbb2132ef50a7f234ae691b68f01de14c55
Showing with 1 addition and 1 deletion.
  1. +1 −1 addon/components/cf-field/input/table.js
@@ -73,7 +73,7 @@ export default Component.extend(ComponentQueryManager, {

const rows = this.get("field.answer.value") || [];

if (!rows.find(doc => doc.id === newDocument.uuid)) {
if (!rows.find(doc => doc.uuid === newDocument.uuid)) {
// add document to table
yield this.onSave([...rows, newDocument]);

0 comments on commit ad88efb

Please sign in to comment.
You can’t perform that action at this time.