mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
The filter-mode mixin was previously serving two distinct purposes via a complex arrangement of getters/setters: 1. To calculate a filterMode, given values for category, filterType and noSubcategories 2. To calculate a filterType, given a filterMode This commit splits the mixin into two functions, and updates all call sites to use them instead of the mixin. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |