- const content = [];
- if (!searchTopics) {
- if (!attrs.inPMInboxContext) {
- content.push(this.attach("search-menu-initial-options", { term }));
- }
- } else {
- if (mainResultsContent.length) {
- content.push(mainResultsContent);
- } else {
- return h("div.no-results", I18n.t("search.no_results"));
- }
- }
- content.push(
- new RenderGlimmer(
- this,
- "div",
- hbs`<PluginOutlet @name="search-menu-results-top" @outletArgs={{@data.outletArgs}}/>`,
- {
This file has been truncated. show original