mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Ember was raising an error without a .set
here
This commit is contained in:
parent
0082a57718
commit
ad876880e1
@ -312,7 +312,7 @@ export default Ember.Object.extend({
|
|||||||
obj[subType] = hydrated;
|
obj[subType] = hydrated;
|
||||||
delete obj[k];
|
delete obj[k];
|
||||||
} else {
|
} else {
|
||||||
obj[subType] = null;
|
Ember.set(obj, subType, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user