diff --git a/app/assets/javascripts/discourse/app/components/search-menu/results/types.hbs b/app/assets/javascripts/discourse/app/components/search-menu/results/types.hbs index 4e1058ec212..aaf5d794e6d 100644 --- a/app/assets/javascripts/discourse/app/components/search-menu/results/types.hbs +++ b/app/assets/javascripts/discourse/app/components/search-menu/results/types.hbs @@ -8,7 +8,7 @@ {{! template-lint-disable no-pointer-down-event-binding }} {{! template-lint-disable no-invalid-interactive }}
  • - +
  • diff --git a/app/assets/javascripts/discourse/app/components/sidebar/edit-navigation-menu/categories-modal.hbs b/app/assets/javascripts/discourse/app/components/sidebar/edit-navigation-menu/categories-modal.hbs index ee19297cc42..c5beecf2200 100644 --- a/app/assets/javascripts/discourse/app/components/sidebar/edit-navigation-menu/categories-modal.hbs +++ b/app/assets/javascripts/discourse/app/components/sidebar/edit-navigation-menu/categories-modal.hbs @@ -3,9 +3,10 @@ @title="sidebar.categories_form_modal.title" @disableSaveButton={{this.saving}} @save={{this.save}} - @showResetDefaultsButton={{(gt - this.siteSettings.default_navigation_menu_categories.length 0 - )}} + @showResetDefaultsButton={{gt + this.siteSettings.default_navigation_menu_categories.length + 0 + }} @resetToDefaults={{this.resetToDefaults}} @deselectAll={{this.deselectAll}} @deselectAllText={{i18n "sidebar.categories_form_modal.subtitle.text"}} @@ -55,9 +56,9 @@ this.selectedSidebarCategoryIds category.id }} - disabled={{(not + disabled={{not (includes this.filteredCategoryIds category.id) - )}} + }} {{on "click" (action "toggleCategory" category.id)}} /> diff --git a/app/assets/javascripts/discourse/app/components/sidebar/edit-navigation-menu/tags-modal.hbs b/app/assets/javascripts/discourse/app/components/sidebar/edit-navigation-menu/tags-modal.hbs index 1d999e98f61..329ed31a245 100644 --- a/app/assets/javascripts/discourse/app/components/sidebar/edit-navigation-menu/tags-modal.hbs +++ b/app/assets/javascripts/discourse/app/components/sidebar/edit-navigation-menu/tags-modal.hbs @@ -3,9 +3,10 @@ @title="sidebar.tags_form_modal.title" @saving={{this.saving}} @save={{this.save}} - @showResetDefaultsButton={{(gt - this.siteSettings.default_navigation_menu_tags.length 0 - )}} + @showResetDefaultsButton={{gt + this.siteSettings.default_navigation_menu_tags.length + 0 + }} @resetToDefaults={{this.resetToDefaults}} @deselectAll={{this.deselectAll}} @deselectAllText={{i18n "sidebar.tags_form_modal.subtitle.text"}} diff --git a/app/assets/javascripts/discourse/app/components/user-stream-item.hbs b/app/assets/javascripts/discourse/app/components/user-stream-item.hbs index e26105f28aa..828a195cff0 100644 --- a/app/assets/javascripts/discourse/app/components/user-stream-item.hbs +++ b/app/assets/javascripts/discourse/app/components/user-stream-item.hbs @@ -1,7 +1,7 @@