mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 19:37:55 +08: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…
Reference in New Issue
Block a user