mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 02:53:38 +08:00
FIX: Move default options that were in the bufferedRender function. This will fix shortcut navigation for discourse-assign (#7497)
This commit is contained in:
parent
c7a0baebc5
commit
0a66065774
|
@ -31,6 +31,9 @@ export function navigateToTopic(topic, href) {
|
|||
|
||||
export const ListItemDefaults = {
|
||||
tagName: "tr",
|
||||
classNameBindings: [":topic-list-item", "unboundClassNames", "topic.visited"],
|
||||
attributeBindings: ["data-topic-id"],
|
||||
"data-topic-id": Ember.computed.alias("topic.id"),
|
||||
|
||||
@computed
|
||||
newDotText() {
|
||||
|
@ -175,13 +178,6 @@ export default Ember.Component.extend(
|
|||
ListItemDefaults,
|
||||
bufferedRender({
|
||||
rerenderTriggers: ["bulkSelectEnabled", "topic.pinned"],
|
||||
classNameBindings: [
|
||||
":topic-list-item",
|
||||
"unboundClassNames",
|
||||
"topic.visited"
|
||||
],
|
||||
attributeBindings: ["data-topic-id"],
|
||||
"data-topic-id": Ember.computed.alias("topic.id"),
|
||||
|
||||
actions: {
|
||||
toggleBookmark() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user