We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cfb178d + 569e1e7 commit aa55704Copy full SHA for aa55704
addon/mixins/nested-relations.js
@@ -47,7 +47,7 @@ const attributesFor = function(record) {
47
attrs = { _delete: true };
48
}
49
50
- if (record.get('markedForDestruction')) {
+ if (!record.get('isNew') && record.get('markedForDestruction')) {
51
attrs = { _destroy: true };
52
53
0 commit comments