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 c9a3825 + c5ea409 commit 18baa7bCopy full SHA for 18baa7b
addon/mixins/model.js
@@ -70,8 +70,9 @@ export default Ember.Mixin.create({
70
},
71
72
manyToManyMarkedForDeletion(relation) {
73
- return this.get('_manyToManyDeleted') &&
74
- this.get(`_manyToManyDeleted.${relation}`);
+ const relationModels = this.get('_manyToManyDeleted') &&
+ this.get(`_manyToManyDeleted.${relation}`);
75
+ return relationModels && relationModels.toArray();
76
77
78
unmarkManyToManyDeletion(relation, model) {
0 commit comments