A platform for community discussion. Free, open, simple.
DEV: add "topic-list-heading-bottom" plugin outlet (#29377)
Krisd57668a70374
diff --git a/app/assets/javascripts/discourse/app/components/topic-list/topic-list-header-column.gjs b/app/assets/javascripts/discourse/app/components/topic-list/topic-list-header-column.gjsindex 41b3ef7798a..a61757f60c6 100644--- a/app/assets/javascripts/discourse/app/components/topic-list/topic-list-header-column.gjs+++ b/app/assets/javascripts/discourse/app/components/topic-list/topic-list-header-column.gjs@@ -1,7 +1,9 @@import Component from "@glimmer/component";+import { hash } from "@ember/helper";import { on } from "@ember/modifier";import { action } from "@ember/object";import { service } from "@ember/service";+import PluginOutlet from "discourse/components/plugin-outlet";import NewListHeaderControls from "discourse/components/topic-list/new-list-header-controls";import TopicBulkSelectDropdown from "discourse/components/topic-list/topic-bulk-select-dropdown";import concatClass from "discourse/helpers/concat-class";@@ -135,6 +137,10 @@ export default class TopicListHeaderColumn extends Component {{{#if this.isSorting}}{{icon (if @ascending "chevron-up" "chevron-down")}}{{/if}}+ <PluginOutlet+ @name="topic-list-heading-bottom"+ @outletArgs={{hash name=@name bulkSelectEnabled=@bulkSelectEnabled}}+ /></th></template>}diff --git a/app/assets/javascripts/discourse/app/raw-templates/topic-list-header-column.hbr b/app/assets/javascripts/discourse/app/raw-templates/topic-list-header-column.hbrindex 5bf4235e64e..5cb151d924e 100644--- a/app/assets/javascripts/discourse/app/raw-templates/topic-list-header-column.hbr+++ b/app/assets/javascripts/discourse/app/raw-templates/topic-list-header-column.hbr@@ -23,4 +23,5 @@{{~#if view.isSorting}}{{d-icon view.sortIcon}}{{/if ~}}+ {{~plugin-outlet name="topic-list-heading-bottom" outletArgs=(raw-hash name=view.name bulkSelectEnabled=bulkSelectEnabled)~}}</th>