mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 16:24:55 +00:00
Make prettier happy
This commit is contained in:
parent
c0f7d95bb8
commit
5b4e13bfcc
@ -177,8 +177,7 @@ export default createWidget("hamburger-menu", {
|
||||
|
||||
listCategories() {
|
||||
const maxCategoriesToDisplay = 6;
|
||||
const categoriesList = this.site
|
||||
.get("categoriesByCount");
|
||||
const categoriesList = this.site.get("categoriesByCount");
|
||||
let categories = [];
|
||||
let showMore = categoriesList.length > maxCategoriesToDisplay;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user