categories page on mobile uses categories with featured topics
This commit is contained in:
parent
6e847bb297
commit
249eedd45c
|
@ -26,7 +26,7 @@ export default DiscoveryController.extend({
|
||||||
|
|
||||||
@computed("model.parentCategory")
|
@computed("model.parentCategory")
|
||||||
categoryPageStyle(parentCategory) {
|
categoryPageStyle(parentCategory) {
|
||||||
let style = this.siteSettings.desktop_category_page_style;
|
let style = this.site.mobileView ? 'categories_with_featured_topics' : this.siteSettings.desktop_category_page_style;
|
||||||
|
|
||||||
if (parentCategory) {
|
if (parentCategory) {
|
||||||
style = subcategoryStyleComponentNames[parentCategory.get('subcategory_list_style')] || style;
|
style = subcategoryStyleComponentNames[parentCategory.get('subcategory_list_style')] || style;
|
||||||
|
|
Loading…
Reference in New Issue