diff --git a/app/assets/javascripts/discourse/app/adapters/list-tag.js b/app/assets/javascripts/discourse/app/adapters/list-tag.js new file mode 100644 index 00000000000..7f89508e908 --- /dev/null +++ b/app/assets/javascripts/discourse/app/adapters/list-tag.js @@ -0,0 +1,7 @@ +import RESTAdapter from "discourse/adapters/rest"; + +export default class extends RESTAdapter { + pathFor(_store, _type, findArgs) { + return this.appendQueryParams("/tags/list", findArgs); + } +} 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 cab218e9d0f..0f508a99d83 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 @@ -1,4 +1,5 @@ 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 9f5089c0507..1d999e98f61 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 @@ -1,4 +1,5 @@ {{else}} - {{#if (gt this.filteredTags.length 0)}} - {{#each this.filteredTags as |tag|}} -