mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:57:29 +08:00
FIX: Ensure bulk select toggle appears for non-admin on new/unread (#24763)
TopicList is a classic component, so we need to use `.get()` for the argument to be autotracked in a native getter 😢
This commit is contained in:
parent
7afb5fc481
commit
a192ae4c15
|
@ -43,7 +43,9 @@ export default Component.extend(LoadMore, {
|
|||
},
|
||||
|
||||
get toggleInTitle() {
|
||||
return !this.bulkSelectHelper?.bulkSelectEnabled && this.canBulkSelect;
|
||||
return (
|
||||
!this.bulkSelectHelper?.bulkSelectEnabled && this.get("canBulkSelect")
|
||||
);
|
||||
},
|
||||
|
||||
@discourseComputed
|
||||
|
|
Loading…
Reference in New Issue
Block a user