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.
1 parent f4c5e20 commit c5ea409Copy full SHA for c5ea409
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