mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:06:57 +08:00
b9b2e6a2e0
Some locations in the app were `.set`-ing these computed properties. This would trigger the `computed-property.override` Ember deprecation, and also lead to inconsistency between the `..._categories_ids` property and the `...Categories` property. This commit updates these properties to have getters/setters, with all state being stored in the `..._ids` property. The `@dependentKeyCompat` decorator is used to ensure these 'autotracking' getters can still be used as dependent keys in other computed properties. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |