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