mirror of
https://github.com/discourse/discourse.git
synced 2025-04-25 10:04:27 +08:00
DEV: Move bulk-select-enabled from body to topic-list element (#31687)
Followup to 41eb83a40185e43feb964288a5ebc5a903f05e13
This commit is contained in:
parent
dd87d23876
commit
915e72033d
@ -1,8 +1,6 @@
|
||||
import DButton from "discourse/components/d-button";
|
||||
import bodyClass from "discourse/helpers/body-class";
|
||||
|
||||
const BulkSelectToggle = <template>
|
||||
{{bodyClass (if @bulkSelectHelper.bulkSelectEnabled "bulk-select-enabled")}}
|
||||
<DButton
|
||||
class="btn-default bulk-select"
|
||||
@action={{@bulkSelectHelper.toggleBulkSelect}}
|
||||
|
@ -185,7 +185,7 @@ export default class TopicList extends Component {
|
||||
<table
|
||||
class={{concatClass
|
||||
"topic-list"
|
||||
(if this.bulkSelectEnabled "sticky-header")
|
||||
(if this.bulkSelectEnabled "sticky-header bulk-select-enabled")
|
||||
this.additionalClasses
|
||||
}}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user