diff --git a/app/assets/javascripts/discourse/widgets/hamburger-menu.js.es6 b/app/assets/javascripts/discourse/widgets/hamburger-menu.js.es6 index 28ed2472428..dc0471fc1fa 100644 --- a/app/assets/javascripts/discourse/widgets/hamburger-menu.js.es6 +++ b/app/assets/javascripts/discourse/widgets/hamburger-menu.js.es6 @@ -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;