From 0a66065774d503d64e11873ba2837a21fdaf72ad Mon Sep 17 00:00:00 2001 From: Roman Rizzi Date: Tue, 7 May 2019 12:25:10 -0300 Subject: [PATCH] FIX: Move default options that were in the bufferedRender function. This will fix shortcut navigation for discourse-assign (#7497) --- .../discourse/components/topic-list-item.js.es6 | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/discourse/components/topic-list-item.js.es6 b/app/assets/javascripts/discourse/components/topic-list-item.js.es6 index 05496607373..17b791fad28 100644 --- a/app/assets/javascripts/discourse/components/topic-list-item.js.es6 +++ b/app/assets/javascripts/discourse/components/topic-list-item.js.es6 @@ -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() {