DEV: Move bulk-select-enabled from body to topic-list element (#31687)

Followup to 41eb83a40185e43feb964288a5ebc5a903f05e13
This commit is contained in:
David Taylor 2025-03-06 23:12:10 +00:00 committed by GitHub
parent dd87d23876
commit 915e72033d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View File

@ -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}}

View File

@ -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
}}
>