mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: add "topic-list-heading-bottom" plugin outlet (#29377)
This commit is contained in:
parent
2ec5c2c514
commit
d57668a703
@ -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>
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user